シャドウソックス

SOCKS5を大まかに基にしたセキュアな分割プロキシ。

重要なディレクトリとファイル

  • サーバー設定: /etc/shadowsocks-libev/config.json
  • クライアント URI (base64): /root/client.ss (または /root/client-ss.txt)
  • システム制限: /etc/security/limits.conf
  • カーネル調整可能パラメータ: /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

接続方法

  1. 開く /root/client.vmess URLをコピーしてください。
  2. クライアントアプリにインポートする。

設定ファイルの編集

サーバー設定: /etc/shadowsocks-libev/config.json

変更例:サーバーポートの変更 8388 → 8488.

編集後:

systemctl restart shadowsocks-libev

セキュリティに関する注意事項

  • これは非常にシンプルなデモ環境です。上級ユーザーは自身で設定と強化を行う必要があります。
  • ステルス化のため、ドメイン名+TLS(Nginxとcertbot経由)を使用する。

 

申請内容