1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
| vim /etc/shadowsocks.json
{ "server": "server_ip", "server_port": server_port, "local_address": "127.0.0.1", "local_port": 1080, "password": "password", "timeout": 300, "method": "aes-256-cfb", "fast_open": false, "workers": 5 }
## server_ip: 服务器ip; 连不上可设置为0.0.0.0 设置::可以使用ipv6代理 ## server_port: 给 Shadowsocks 分配端口,如990; ## password: 给 Shadowsocks 分配密码, 其他默认。 #多端口配置 { "server": "server_ip", "local_address": "127.0.0.1", "local_port": 1080, "port_password":{ "9000":"password0", "9001":"password1", "9002":"password2" }, "timeout": 300, "method": "aes-256-cfb", "fast_open": false, "workers": 5 }
|