Shadowsocks: Install and config on CentOS-7

Shadowsocks is a fast tunnel proxy that helps bypass firewall limitations. For more details, you can refer to its homepage.

The installation of shadowsocks on CentOS-7 is pretty easy as we just need to run pip, as below:

# pip install shadowsocks

Then, a config file need to be created manually,

# cat > /etc/shadowsocks.json <<_END
"server": "",
"server_port": 8388,
"password": "Dr0oPxs3ML3d0n”,
"method": "aes-256-cfb"

A control script for shadowsocks with systemd needs to be manually created as well,

# cat >/etc/systemd/system/shadowsocks.service <<_END

ExecStart=/usr/bin/ssserver -c /etc/shadowsocks.json


Finally enable & restart the service as follows,

# systemctl enable shadowsocks
# systemctl start shadowsocks

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.