Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 10 You must be signed in to star a gist
  • Fork 9 You must be signed in to fork a gist
  • Save codexss/1d5a834c479bb1532b9f82b23ee2f3fa to your computer and use it in GitHub Desktop.
Save codexss/1d5a834c479bb1532b9f82b23ee2f3fa to your computer and use it in GitHub Desktop.
echo "deb http://deb.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
echo "deb http://deb.debian.org/debian jessie-backports-sloppy main" >> /etc/apt/sources.list.d/jessie-backports.list
apt update
apt install shadowsocks-libev simple-obfs curl -y
cat > /etc/shadowsocks-libev/config.json <<EOF
{
"server":"0.0.0.0",
"server_port":443,
"local_port":1080,
"password":"foobar!",
"timeout":60,
"method":"xchacha20-ietf-poly1305",
"nameserver":"1.1.1.1",
"plugin":"obfs-server",
"plugin_opts":"obfs=tls;fast-open"
}
EOF
/etc/init.d/shadowsocks-libev restart
curl https://raw.githubusercontent.com/linhua55/lkl_study/master/get-rinetd.sh | bash
@codexss
Copy link
Author

codexss commented May 20, 2017

参考自V2EX @linhua /t/353778

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment