傅令江的光影色彩世界
centos6.4安装socket5做代理
2015-11-12 令狐江

yum groupinstall "Development Tools"
yum -y install gcc automake make
yum -y install pam-devel openldap-devel cyrus-sasl-devel
下载编译socket5
 
 
wget http://static.auvps.com/uploads/2013/04/ss5-3.6.1-1.tar.gz
wget http://www.linuxso.com/uploads/soft/101018/ss5-3.6.1-1.tar.gz
tar zxvf ss5-3.6.1-1.tar.gz
cd ss5-3.6.1
./configure
make
make install

启动ss5的服务
 
 
/etc/init.d/ss5 start
添加ss5到服务中,并随机启动
 
 
chkconfig --add ss5
chkconfig ss5 on
ss5 默认使用1080端口,并允许任何人使用。我们可以修改 /etc/opt/ss5/ss5.conf 中的
 
 
# SHost         SPort   Authentication
# auth 0.0.0.0/0   -         -
修改为:
# SHost            SPort    Authentication
auth 0.0.0.0/0     -           u
在 /etc/opt/ss5/ss5.passwd 中添加 用户名和密码 如:
 
 
silic  silic
使用用户验证,重启ss5服务

发表评论:
昵称

邮件地址 (选填)

个人主页 (选填)

内容