https://lvii.gitbooks.io/outman/content/ss.mac.html
执行命令
sudo apt-get update && sudo apt-get install shadowsocks
配置/etc/shadowsocks/config.json
, 修改server
为0.0.0.0
, password
为你需要设置的值
{
"server":"your_server_ip",
"server_port":8388,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"your_password",
"timeout":300,
"method":"aes-256-cfb",
"fast_open":false,
"workers":1,
}
启动服务: sudo service shadowsocks restart