yum update
yum install pam-devel openldap-devel openssl-devel
yum -y install gcc
yum -y install gcc-c++
cd /opt
wget http://downloads.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz
tar -xzvf ss5-3.8.9-8.tar.gz
cd ss5-3.8.9
./configure
make
make install
chmod a+x /etc/init.d/ss5
vim /etc/opt/ss5/ss5.conf
auth 0.0.0.0/0 – -
改为
auth 0.0.0.0/0 – u
permit – 0.0.0.0/0 – 0.0.0.0/0 – – – – -
改成为
permit u 0.0.0.0/0 – 0.0.0.0/0 – – – – -
vim /etc/opt/ss5/ss5.passwd
账号 密码
查看用户名密码
cat /etc/opt/ss5/ss5.passwd
vim /etc/sysconfig/ss5
SS5_OPTS=" -u root -b 0.0.0.0:11111"
sh /etc/rc.d/init.d/ss5 start
service ss5 start