On vps:

yum install python-setuptools && easy_install pip

pip install shadowsocks

See message like:

Successfully installed shadowsocks-2.8.2

Then

vim /etc/shadowsocks.json

Enter:

{
“server”:”your_server_ip”,
“server_port”:8388,
“local_address”: “127.0.0.1”,
“local_port”:1080,
“password”:”your_passwd”,
“timeout”:300,
“method”:”aes-256-cfb”,
“fast_open”: false
}

or

{
“server”:”your_server_ip”,
“port_password”:{
“8381”:”passwd1″,
“8382”:”passwd2″
},
“timeout”:300,
“method”:”aes-256-cfb”,
“fast_open”: false
}

Then start ss by:

ssserver -c /etc/shadowsocks.json -d start

To turn off:

ssserver -c /etc/shadowsocks.json -d stop

Reference

 

About shadowsocks on android:

  1. You enable “bypass mode”, so all traffic of your selected apps will not go through shadowsocks. (ref)