yum install -y epel-release
yum install -y yum-utils && yum-config-manager --enable epel
yum install -y python-pip
yum install -y python-setuptools
pip install urllib3
pip install shadowsocks
vi /etc/shadowsocks.json
{
"server":"0.0.0.0",
"server_port":端口号,
"local_port":1080,
"password":"密码",
"timeout":600,
"method":"aes-256-cfb"
}
/usr/bin/ssserver -c /etc/shadowsocks.json -d start
{
"server": "0.0.0.0",
"port_password": {
"端口": "密码",
"端口": "密码",
"端口": "密码"
},
"timeout":300,
"method":"aes-256-cfb",
"fast_open": true
}