Shadowsocks is a fast tunnel proxy that helps you bypass firewalls.

Shadowsocks is a fast tunnel proxy that helps you bypass firewalls.

In this article, I will show you some guidelines for you on shadowsocks, so that you can use any internet service as you do at home when you are on a business trip in some countries blocking you from accessing some main service providing websites.


Shadowsocks Features:

  • TCP & UDP support
  • User management API
  • TCP Fast Open
  • Workers and graceful restart
  • Destination IP blacklist





Debian / Ubuntu:

apt-get install python-pip
pip install shadowsocks



yum install python-setuptools && easy_install pip
pip install shadowsocks



See Install Shadowsocks Server on Windows.



ssserver -p 443 -k password -m aes-256-cfb


To run in the background:

sudo ssserver -p 443 -k password -m aes-256-cfb --user nobody -d start


To stop:

sudo ssserver -d stop


To check the log:

sudo less /var/log/shadowsocks.log

Check all the options via -h. You can also use a shadowsocks configuration file instead.


Server Setup


I recommend you use Ubuntu 16.04 LTS as your server operating system for TCP Fast Open. If you are new to linux, just don't have a try on CentOS that is not new-user friendly.

You'd better use a VPS based on KVM. I recommend the followings as I am also using:

Vultr, a great vps service provider with lots of backing money, it have so many data centers for you to choose and deloy your server stuff conveniently by a variety of  one-click install packs, starting at min $2.5.month.

Linode, also a great vps service provider and is famous for its excellent customer service since its foundation, with eight data centers for your choice, starting at $5/month.




You can easily use shadowsocks as your encrypted tunnel proxy by versions of clients as follows, either on your desktop PC / laptop or on your mobile device, no matter what system it is running on:

Windows / OS X

Android / iOS