1.安装 Shadowsocks
yum install python-setuptools && easy_install pip
pip install shadowsocks
2.配置
创建配置文件: /etc/shadowsocks.json
配置内容
多端口服务:
{
"server":"1.2.3.4", //服务器IP
"port_password":{
"8888":"password1",
"8889":"password2",
"8890":"password3",
"8891":"password4"
},
"timeout":600,
"method":"aes-256-cfb"
}
3.后台运行
ssserver -c /etc/shadowsocks.json -d start # 启动
ssserver -c /etc/shadowsocks.json -d stop # 停止