Important Directories and Files
- Server config:
/etc/shadowsocks-libev/config.json
- Client URI (base64):
/root/client.ss
(or/root/client-ss.txt
) - System limits:
/etc/security/limits.conf
- Kernel tunables:
/etc/sysctl.d/99-shadowsocks.conf
- Systemd unit (Debian/Ubuntu packaging):
shadowsocks-libev.service
Managing the Service
# start / enable / restart
systemctl enable shadowsocks-libev.service
systemctl start shadowsocks-libev.service
systemctl restart shadowsocks-libev.service
# status & logs
systemctl status shadowsocks-libev -l
journalctl -u shadowsocks-libev -f
How to Connect
- Open
/root/client.vmess
and copy the URL. - Import it into a client app.
Editing the Config
Server config: /etc/shadowsocks-libev/config.json
Example modification: change sever port 8388
→ 8488
.
After editing:
systemctl restart shadowsocks-libev
Security Notes
- This is a very simple demo setup — advanced users must configure and harden it themselves.
- Use a domain name + TLS (via Nginx + certbot) for stealth.