Last active
September 27, 2019 14:59
-
-
Save amanjuman/457ab126766f04493bb8cbdfd9bb13f1 to your computer and use it in GitHub Desktop.
Shadowsocks Server Setup and Files
This file contains 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
sudo apt-get update && sudo apt-get upgrade -y | |
wget --no-check-certificate https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocksR.sh && chmod +x shadowsocksR.sh | |
./shadowsocksR.sh 2>&1 | tee shadowsocksR.log | |
nano /etc/shadowsocks.json | |
{ | |
"server":"0.0.0.0", | |
"server_ipv6":"[::]", | |
"port_password": { | |
"1001": "user1", | |
"1002": "user2", | |
"1002": "user3" | |
}, | |
"local_address":"127.0.0.1", | |
"local_port":1080, | |
"timeout":120, | |
"method":"chacha20", | |
"protocol":"auth_sha1_v4", | |
"protocol_param":"", | |
"obfs":"http_simple", | |
"obfs_param":"", | |
"redirect":"", | |
"dns_ipv6":false, | |
"fast_open":false, | |
"workers":1 | |
} | |
/etc/init.d/shadowsocks restart | |
ufw allow 1001:1002/udp | |
ufw allow 1001:1002/tcp | |
https://github.com/shadowsocksrr/shadowsocksr-android/releases/download/3.5.4/shadowsocksr-android-3.5.4.apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment