CentOS:
yum install python-setuptools && easy_install pip
pip install shadowsocks
创建配置文件/etc/shadowsocks.json
vi /etc/shadowsocks.json
输入
{
"server":"my_server_ip",
"server_port":8388,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"mypassword",
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false
}
前端运行:
ssserver -c /etc/shadowsocks.json
后台运行:
ssserver -c /etc/shadowsocks.json -d startssserver -c /etc/shadowsocks.json -d stop
日志文件
/var/log/shadowsocks.log