Forked from codexss/debian install rinetd-lkl shadowsocks-libev.sh
Created
August 8, 2017 17:11
-
-
Save kang000feng/b81979816b6fb5edec74f0fc0e6332ca 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