Forked from codexss/debian install rinetd-lkl shadowsocks-libev.sh
Created
September 1, 2017 06:38
-
-
Save TimothyYe/e3090951db47a6ab711ee753c3bcff75 to your computer and use it in GitHub Desktop.
debian install rinetd-lkl shadowsocks-libev
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
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