install
sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:max-c-lv/shadowsocks-libev -y
sudo apt-get update
sudo apt install shadowsocks-libev
configure
sudo vim /etc/shadowsocks-libev/config.json
{
"server":"10.128.0.2",
"server_port":8911,
"local_port":1008,
"password":"jesusislove",
"timeout":60,
"method":"chacha20-ietf-poly1305"
}
start server
sudo systemctl start shadowsocks-libev
google compute engine
If the server are running on a google compute engine,You need to setup a firewall rules for the server port(8911, written in config.json).
shadowsocks
Apply to all
IP ranges: 0.0.0.0/0
tcp:8911, udp:8911
Allow
client configuration
iOSAndroid
Shadowsocks for Android / iOS also accepts BASE64 encoded URI format configs:
ss://BASE64-ENCODED-STRING-WITHOUT-PADDING#TAG
Where the plain URI should be:ss://method:password@hostname:port
Quick Guide