Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cat << EOF >> /etc/sysctl.conf
- net.core.default_qdisc = fq
- net.ipv4.tcp_congestion_control = bbr
- EOF
- sysctl -p
- apt update
- apt install -y shadowsocks
- cat <<EOF >/etc/shadowsocks/config.json
- {
- "server":"::",
- "server_port":8443,
- "local_address": "127.0.0.1",
- "local_port":1080,
- "password":"chengxuncc",
- "timeout":300,
- "method":"aes-256-cfb",
- "fast_open": false,
- "workers": 5,
- "prefer_ipv6": false
- }
- EOF
- systemctl stop shadowsocks
- systemctl restart shadowsocks
- systemctl enable shadowsocks
- systemctl status shadowsocks
- systemctl start shadowsocks
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement