Install ShadowSocks server on Debian 10
To install ShadowSocks server on Debian 10, run
1 |
apt install -y shadowsocks |
Create config file
1 |
vi /etc/shadowsocks/config.json |
Add following
1 2 3 4 5 6 7 8 |
{ "server":"SERVER_IP", "server_port":8044, "local_port":0, "password":"PASSWOARD_HERE", "timeout":600, "method":"aes-256-cfb" } |
You can change server_port if required.
To enable service, run
1 |
systemctl enable shadowsocks-server@config |
To start shadowsocks proxy, run
1 |
systemctl start shadowsocks-server@config |
For status/restart
1 2 |
systemctl status shadowsocks-server@config systemctl restart shadowsocks-server@config |