重要目录和文件
- 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 单元(Debian/Ubuntu 打包):
shadowsocks-libev.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并复制 URL。 - 将其导入客户端应用。
编辑配置
Server config: /etc/shadowsocks-libev/config.json
示例修改:更改服务器端口 8388 → 8488.
After editing:
systemctl restart shadowsocks-libev
Security Notes
- 这是一个非常基础的演示配置,进阶用户需自行配置并加固。
- 使用域名 + TLS(通过 Nginx + certbot)以提高隐蔽性。