系统centos7.6
pip3 install shadowsocks
# 支持加密方式aes-256-gcm
pip3 install https://github.com/shadowsocks/shadowsocks/archive/master.zip -U
vim /etc/shadowsocks.json
{
"server": "0.0.0.0",
"local_address": "127.0.0.1",
"local_port": 1080,
"port_password": {
"8888": "your password"
},
"timeout": 600,
"method": "aes-256-gcm"
}
# 启动
ssserver -c /etc/shadowsocks.json -d start
# 停止
ssserver -c /etc/shadowsocks.json -d stop
如果开了防火墙,加入端口。
版权声明:本文为SaRoot原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。