ss5安装和配置
【今日推荐】:为什么一到面试就懵逼!>>> wget https://nchc.dl.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz yum -y install gcc gcc-c++ automake make pam-devel openldap-devel cyrus-sasl-devel tar xzf ss5-3.8.9-8.tar.gz cd ss5-3.8.9 ./configure make make install chmod +x /etc/init.d/ss5 chkconfig --add ss5 chkconfig --level 345 ss5 on 开启用户名密码验证机制,找到以下两行取消注释即可 vi /etc/opt/ss5/ss5.conf auth 0.0.0.0/0 - u permit u 0.0.0.0/0 - 0.0.0.0/0 - - - - - 设置用户名密码,一行一个账号,用户名和密码之间用空格间隔 vi /etc/opt/ss5/ss5.passwd user1 pwd1 user2 pwd2 设置ss5端口 vi /etc/sysconfig/ss5 # Add startup option here SS5_OPTS=" -u root -b 0.0.0