Skip to content

Instantly share code, notes, and snippets.

@TimothyYe
Forked from codexss/debian install rinetd-lkl shadowsocks-libev.sh
Created September 1, 2017 06:38
Show Gist options
  • Save TimothyYe/e3090951db47a6ab711ee753c3bcff75 to your computer and use it in GitHub Desktop.
Save TimothyYe/e3090951db47a6ab711ee753c3bcff75 to your computer and use it in GitHub Desktop.
debian install rinetd-lkl shadowsocks-libev
echo "deb http://httpredir.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
apt update
apt install shadowsocks-libev 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":"chacha20-ietf-poly1305"
}
EOF
/etc/init.d/shadowsocks-libev restart
curl https://rawgit.com/linhua55/lkl_study/master/get-rinetd.sh | bash
echo "0.0.0.0 443 0.0.0.0 443" > /etc/rinetd-bbr.conf
service rinetd-bbr restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment