Created
December 28, 2017 09:55
-
-
Save bydmm/4293518800faf9823a5f876953dd9caf to your computer and use it in GitHub Desktop.
ss.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo apt-get update | |
sudo apt-get -y install python-pip | |
pip install shadowsocks | |
echo '{ "server":"0.0.0.0", "server_port":13388, "local_address": "127.0.0.1","local_port":1080, "password":"Daoyuan123", "timeout":300, "method":"aes-256-cfb", "fast_open": false }' >> /etc/shadowsocks.json | |
sudo ssserver -c /etc/shadowsocks.json -d start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -o- https://gist.githubusercontent.com/bydmm/4293518800faf9823a5f876953dd9caf/raw/edd95f207899cae50120909d65af97261ca68d44/ss.sh | bash