CentOS7安装shadowsocks

yum install -y python-setuptools
easy_install pip
pip install shadowsocks

服务端

mkdir /etc/shadowsocks
cat >> /etc/shadowsocks/config.json <<'EOF'
{
"server":"0.0.0.0",
"server_port":1194,
"local_address":"127.0.0.1",
"local_port":1080,
"password":"123456",
"timeout":300,
"method":"aes-256-cfb",
"fast_open":false,
"workers": 1
}
EOF

客户端

{
  "server": "0.0.0.0",
  "server_port": 1194,
  "password": "123456",
  "method": "aes-256-cfb"
}
添加新评论