关闭防火墙
iptables -F
代码(用0.0.0.0 不要绑定ip地址 不然总不生效 ):
{
"server":"0.0.0.0",
"server_port":443,
"local_port":1080,
"password":"passwd",
"timeout":300,
"method":"aes-256-cfb"
}
启动
ssserver -c /etc/shadowsocks.json -d start
停止
ssserver -c /etc/shadowsocks.json -d stop
重启
ssserver -c /etc/shadowsocks.json -d restart