Always use the latest version of software whenever possible.

Server side

For Debian stretch (version 9.0)

1
2
3
4
5
6
7
8
cat <<EOF > /etc/apt/sources.list.d/stretch-backports.list
deb http://ftp.debian.org/debian stretch-backports main
EOF
apt-get -t stretch-backports install shadowsocks-libev
service shadowsocks-libev restart

Note that shadowsocks-libev 3.0.x deprecates OTA (One Time Auth) so remember to remove "auth":true in the config file. And please use one of the following ciphers (Source):

  • chacha20-ietf-poly1305
  • aes-256-gcm
  • aes-192-gcm
  • aes-128-gcm

The config file (/etc/shadowsocks-libev/config.json) looks like

1
2
3
4
5
6
7
8
9
10
11
{
"server": "111.222.222.111",
"server_port": 8388,
"local_address": "127.0.0.1",
"local_port": 1080,
"password": "Chris",
"timeout": 60,
"reuse_port": true,
"nameserver": "8.8.8.8",
"method": "chacha20-ietf-poly1305"
}

Client Side

For windows users

1
2
3
4
5
6
7
git clone https://github.com/Windendless/shadowsocks-libev.git
cd shadowsocks-libev
git submodule update --init --recursive
./autogen.sh
./configure
make -j 4
make install prefix=/mingw64

Thank you, Windendless.

Android

Go to

https://github.com/shadowsocks/shadowsocks-android/releases

download the apk file and install.