Server
1 2 3 |
sudo apt-get install python python-pip pip install shadowsocks ssserver -c /etc/shadowsocks/config.json -d start |
其中 config.json的配置如下:
1 2 3 4 5 6 7 8 9 |
{ "server":"0.0.0.0", "server_port":18888, "local_port":1080, "password":"123456", "timeout":600, "method":"aes-256-cfb", "fast_open":false } |
Client
1 2 3 |
sudo apt-get install python python-pip pip install shadowsocks sslocal -c config.json |
其中 config.json的配置如下:
1 2 3 4 5 6 7 8 |
{ "server":["13.115.230.213"], "server_port":18888, "local_port":1080, "password":"123456", "timeout":600, "method":"aes-256-cfb" } |