Skip to content
Branch: master
Find file Copy path
Find file Copy path
9 contributors

Users who have contributed to this file

@clowwindy @mengskysama @anthonywong @jlund @tedlz123 @netroby @elvisw @casouri @apemost
98 lines (56 sloc) 2.11 KB


PyPI version Build Status

A fast tunnel proxy that helps you bypass firewalls.


  • 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 git+


yum install python-setuptools && easy_install pip
pip install git+

For CentOS 7, if you need AEAD ciphers, you need install libsodium

dnf install libsodium python34-pip
pip3 install  git+

Linux distributions with snap:

snap 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 [Configuration] file instead.

If you installed the snap package, you have to prefix the commands with shadowsocks., like this:

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

Usage with Config File

Create configuration file and run

To start:

ssserver -c /etc/shadowsocks.json


You can find all the documentation in the Wiki.


Apache License

You can’t perform that action at this time.