Last active
March 5, 2022 18:27
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://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