CentOS安装Socks5

| |
[ 2011/08/09 13:51 | by Sonic ]
1.配置编译环境
2.安装socks5必要的包
yum -y install gcc automake make

yum -y install pam-devel openldap-devel cyrus-sasl-devel

3.下载,编译安装ss5(socks5)

wget http://disk.boluo.org/linux/27001-ss5-3.6.1-1.tar.gz
tar zxvf 27001-ss5-3.6.1-1.tar.gz
cd ss5-3.6.1
./configure
make
make install


可以通过修改 /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 中添加 用户名和密码 如:

admin   123456

使用用户验证,重启ss5服务

/etc/init.d/ss5 start

Tags: , ,
网摘-网事 | 评论(0) | 引用(0) | 阅读(1482)
Share |
发表评论
表情
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
emotemotemotemotemot
打开HTML
打开UBB
打开表情
隐藏
记住我
昵称   密码   游客无需密码
网址   电邮   [注册]