安装依赖:
yum install python-setuptools && easy_install pip
安装SS服务
pip install shadowsocks
配置SS服务
vim /etc/shadowsocks.json
{
"server":"0.0.0.0",
"server_port":22542,
"local_address": "127.0.0.1",
"local_port":1080,
"password":"123123",
"timeout":300,
"method":"aes-256-cfb",
"log-file": "/var/log/err.log",
"fast_open": false
}
运行服务
ssserver -c /etc/shadowsocks.json &>/dev/null &
配置参数说明
server:监听主机
server_port:SS服务链接端口
password:SS链接密码
timeout:超时时间
method:加密算法
支持的加密算法:
aes-128-ctr
aes-192-ctr
aes-128-cfb
aes-192-cfb
aes-256-cfb
camellia-128-cfb
camellia-192-cfb
camellia-256-cfb
chacha20-ietf
chacha20-ietf-poly1305
aes-256-gcm
aes-192-gcm
aes-128-gcm
评论区