1. 安装shadowsocks服务端

yum install python-setuptools && easy_install pip

pip install shadowsocks  

2. 编写配置

vi /etc/shadowsocks.json

{
    "server":"0.0.0.0",
    "port_password":
     {
       "8381":"xxxxxxx",
       "8382":"xxxxxxx",
       "8383":"xxxxxxx",
       "8384":"xxxxxxx"
     },
    "timeout":300,
    "method":"aes-256-cfb",
    "fast_open": false
}

配置说明:

3. 启动

前台启动:
ssserver -c /etc/shadowsocks.json

后台启动与停止:
ssserver -c /etc/shadowsocks.json -d start
ssserver -c /etc/shadowsocks.json -d stop 

4. 设置开机启动

vi /etc/rc.local
ssserver -c /etc/shadowsocks.json -d start

就此搭建完成. 

客户端下载:

Windows:
https://github.com/shadowsocks/shadowsocks-windows/releases

Mac OS X:
https://github.com/shadowsocks/ShadowsocksX-NG/releases

linux:
https://github.com/shadowsocks/shadowsocks-qt5/wiki/Installation
https://github.com/shadowsocks/shadowsocks-qt5/releases

iOS:
https://itunes.apple.com/app/apple-store/id1070901416?pt=2305194&ct=shadowsocks.org&mt=8
https://github.com/shadowsocks/shadowsocks-iOS/releases

Android:
https://play.google.com/store/apps/details?id=com.github.shadowsocks
https://github.com/shadowsocks/shadowsocks-android/releases
03-09 23:26