centos7+ss5 Linux

mowen 2020-11-14 1974

yum -y install gcc gcc-c++ automake make pam-devel openldap-devel cyrus-sasl-devel openssl-devel
wget https://udomain.dl.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz &&
tar zxvf ./ss5-3.8.9-8.tar.gz &&
cd ss5-3.8.9 &&
./configure && make && make install
vim /etc/opt/ss5/ss5.conf
auth 0.0.0.0/0 - u
permit u 0.0.0.0/0 - 0.0.0.0/0 - - - - -
vim /etc/opt/ss5/ss5.passwd
useracc userpwd
vim /etc/sysconfig/ss5
SS5_OPTS=" -u root -b 0.0.0.0:8080 -p /var/run/ss5.pid"
chmod a+x /etc/init.d/ss5 &&
/etc/init.d/ss5 start &&
chkconfig --add ss5 &&
chkconfig ss5 on
yum install privoxy -y &&
vim /etc/privoxy/config
listen-address 0.0.0.0:8181
forward-socks5 / 127.0.0.1:8080.
systemctl restart privoxy && systemctl enable privoxy


最新回复 (0)
返回
发新帖
X