#curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py"
#python get-pip.py
#pip install --upgrade pip
#pip install shadowsocks
#vi /etc/shadowsocks.json
内容如下
{
"server": "0.0.0.0",
"server_port": 8388,
"password": "abcdefghi",
"method": "aes-256-cfb"
}
说明:
method为加密方法,可选aes-128-cfb, aes-192-cfb, aes-256-cfb, bf-cfb, cast5-cfb, des-cfb, rc4-md5, chacha20, salsa20, rc4, table
server_port为服务监听端口
password为密码,可使用密码生成工具生成一个随机密码
以上三项信息在配置 shadowsocks 客户端时需要配置一致,具体说明可查看 shadowsocks 的帮助文档。
使用配置文件在后台运行shadowsocks服务
#ssserver -c /etc/shadowsocks.json -d start
客户端下载:
https://github.com/shadowsocks/shadowsocks-windows/releases