需要购买国外服务器
# 环境依赖
yum -y install python2-pip
pip install shadowsocks
# 服务端配置
ssserver -k password -d start
# 客户端配置
sslocal -s 服务器地址 -p 8388 -k password -d start
# 服务器配置文件
cat /etc/shadowsocks.json
{
"server":"server_ip",
"server_port":8388,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"password",
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false
}
# 客户端配置文件
cat /etc/shadowsocks.json
{
"server":"server_ip",
"server_port":8388,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"password",
"timeout":300,
"method":"aes-256-cfb",
"fast_open": false,
"workers": 1
}
网友评论