Installing Shadowsocks Server & Client (Bypass Restrictions or Personal VPN)

By January 13, 2016Blog, Server, VPN
Shadowsocks VPN Tutorial

Setting up the Server

My server is CentOS. This process should work with any server that has yum installed.

First we need to update the CentOS system.

yum -y update
yum install build-essential autoconf libtool gcc -y

Then install python-setuptools (which contains easy_install), pip, shadowsocks.

yum install python-setuptools
easy_install pip
pip install shadowsocks

On the server (CentOS), Create a file named config.json, with the following content.

{
  "server":"SERVER_IP", // replace with your server's IP
  "server_port":8388,
  "local_port":1080,
  "password":"PASSWORD", // replace with a secure password
  "timeout":600,
  "method":"aes-256-cfb"
}

cd into the directory of config.json. Run ssserver
on your server.

To run it in the background, run nohup ssserver > log &.

Setting up the Client

All the various clients can be seen here: https://shadowsocks.org/en/download/clients.html

This is what I use:

  • Android: https://play.google.com/store/apps/details?id=com.github.shadowsocks
  • iOS: https://itunes.apple.com/tc/app/shadowsocks/id665729974?mt=8
  • Mac: https://goagentx.googlecode.com/files/GoAgentX-v2.2.9.dmg

For easy install on a mobile device go here: https://shadowsocks.org/en/config/quick-guide.html. Then generate a QR code at the bottom.

Mike Doubintchik

Author Mike Doubintchik

More posts by Mike Doubintchik

Leave a Reply