Install ShadowSocks server on Debian 10
To install ShadowSocks server on Debian 10, run
apt install -y shadowsocks
Create config file
vi /etc/shadowsocks/config.json
Add following
{ "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
systemctl enable shadowsocks-server@config
To start shadowsocks proxy, run
systemctl start shadowsocks-server@config
For status/restart
systemctl status shadowsocks-server@config systemctl restart shadowsocks-server@config