Last active
March 5, 2022 18:27
-
-
Save codexss/1d5a834c479bb1532b9f82b23ee2f3fa to your computer and use it in GitHub Desktop.
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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
参考自V2EX @linhua /t/353778