Dec 25

1.服务端安装
Debian / Ubuntu 系统:

apt-get install python-pip
pip install shadowsocks

2.修改配置文件

/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
}

3.测试配置文件

ssserver -c /etc/shadowsocks.json

如果没有错误提示就可以在后端运行了:

ssserver -c /etc/shadowsocks.json -d start

终止运行:

ssserver -c /etc/shadowsocks.json -d stop

参考资料:https://github.com/shadowsocks/shadowsocks/wiki/Configuration-via-Config-File

Leave a Reply