安装ShadowSocks
yum -y install python-setuptools && easy_install pip
pip install shadowsocks
cat /etc/shadowsocks.json
{
"server":"67.218.148.241",
"local_address": "127.0.0.1",
"local_port":1080,
"port_password": {
"8395": "ai!#789",
"8382": "pwd2asdfasdfasdfasd"
},
"timeout":300,
"method":"rc4-md5",
"fast_open": false
}
启动:
ssserver -c /etc/shadowsocks.json -d start
关闭:
ssserver -c /etc/shadowsocks.json -d stop
重启:
ssserver -c /etc/shadowsocks.json -d restart
ShadowSocks install
https://teddysun.com/342.html