Skip to content

Instantly share code, notes, and snippets.

@bydmm
Created December 28, 2017 09:55
Show Gist options
  • Save bydmm/4293518800faf9823a5f876953dd9caf to your computer and use it in GitHub Desktop.
Save bydmm/4293518800faf9823a5f876953dd9caf to your computer and use it in GitHub Desktop.
ss.sh
#!/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