技术简记/

CentOS 7 搭建 Socks5 代理服务器

网上大多是用 SS5 搭建,发现一个轻量级的:

https://github.com/rofl0r/microsocks

安装步骤

# wget https://github.com/rofl0r/microsocks/archive/v1.0.3.zip
# unzip v1.0.3.zip
# cd microsocks-1.0.3
# make && make install 

启动命令

# microsocks -p 4568

更多参数到项目主页查看。

开机自启

往 /etc/rc.d/rc.local 追加一行:

nohup microsocks -p 4568 >/dev/null 2>&1 &

再添加执行权限:

# chmod +x /etc/rc.d/rc.local 

留下一条评论

暂无评论