# From https://github.com/madeye/shadowsocks-libev
# shadowsocks seems like another type of SSH,
# you configure the web browser for socks proxy the same as SSH
# you can route openvpn (TCP only) via shadowsocks with
# openvpn config line "socks-proxy localhost 1080"
# set up server
echo deb http://shadowsocks.org/debian wheezy main >> /etc/apt/sources.list
apt-get update
apt-get install shadowsocks
# Edit the configuration
nano /etc/shadowsocks/config.json
{
"server":"server IP",
"server_port":8388,
"local_port":1080,
"password":"barfoo!",
"timeout":60,
"method":"aes-256-cfb"
}
# Start the service
/etc/init.d/shadowsocks start
# Check status of service
/etc/init.d/shadowsocks status
# Install Client on PC or phone, match config.json
http://shadowsocks.org/en/download/clients.html
# TIP: For server check installed versions is => libssl 1.0.0
dpkg --get-selections | grep libssl
# TIP: With Debian 6, I got the following error at, apt-get update
W: Failed to fetch http://shadowsocks.org/debian/dists/squeeze/Release.gpg Could not resolve ''
W: Failed to fetch http://shadowsocks.org/debian/dists/squeeze/main/i18n/Translation-en.bz2 Could not resolve ''
W: Some index files failed to download, they have been ignored, or old ones used instead.
# solution: try 'apt-get update' again and again, can take 3 times