环境:
上网机 CentOS release 6.9 (Final) 搭建ss5
内网机 CentOS release 6.7 (Final) 安装proxychains
在上网机操作:
[root@download6 ~]# cat /etc/redhat-release
CentOS release 6.9 (Final)
[root@download6 ~]# yum -y install gcc gcc-c++ automake make pam-devel openldap-devel cyrus-sasl-devel
[root@download6 ~]# tar zxvf ss5-3.8.9-8.tar.gzcd ss5-3.8.9
[root@download6 ~]# cd ss5-3.8.9-8
[root@download6 ~]#./configure
[root@download6 ~]#make
[root@download6 ~]#make install
[root@download6 ss5-3.8.9]# whereis ss5
ss5: /usr/sbin/ss5 /usr/lib/ss5 /usr/share/man/man1/ss5.1.gz /usr/share/man/man1/ss5.1.bz2
[root@download6 ss5-3.8.9]# chmod +x /etc/init.d/ss5chkconfig --add ss5
必须把配置文件/etc/opt/ss5/ss5.conf备份后清空,否则会报错“socks method unknown or bad request”
清空后ss5.conf只写两行:
auth 0.0.0.0/0 - u
permit u 0.0.0.0/0 - 0.0.0.0/0 - - - - -
在/etc/opt/ss5/ss5.pa