UbuntuはShadowSocksサービスを構築します。
インストール
- インストールスクリプトをダウンロード
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks.sh
- Change script execution permissions
chmod +x shadowsocks.sh
- Execute
./shadowsocks.sh 2>&1 | tee shadowsocks.log
- 設定の追加 実行中に、ポート、パスワード、暗号化アルゴリズムやその他の設定を設定するプロンプトが表示されます、ポートのデフォルトのニーズに応じて独自のものを選択し、暗号化アルゴリズムは、デバイスのほとんどに適したaes-256-cfbを選択することができます
Congratulations, Shadowsocks-python server install completed!
Your Server IP : 127.0.0.1
Your Server Port : 8899
Your Password : password
Your Encryption Method: aes-256-cfb
Welcome to visit:"https://teddysun.com/243".html
Enjoy it!
インストールが完了したら、クライアントデバイスに設定を追加します
- /etc/shadowsocks.json
- /etc/shadowsocks.json- /etc/shadowsocks.json
{
 "server":"0.0.0.0",
 "local_address":"127.0.0.1",
 "local_port":1080,
 "port_password":{
 "8989":"password0",
 "9001":"password1",
 "9002":"password2",
 "9003":"password3",
 "9004":"password4"
 },
 "timeout":300,
 "method":"your_encryption_method",
 "fast_open": false
}
アンインストール
./shadowsocks.sh uninstall





