shadowsocks配置和优化

参考链接

https://teddysun.com/486.html

shell

1
2
3
wget --no-check-certificate -O shadowsocks-all.sh https://raw.githubusercontent.com/teddysun/shadowsocks_install/master/shadowsocks-all.sh
chmod +x shadowsocks-all.sh
./shadowsocks-all.sh 2>&1 | tee shadowsocks-all.log

脚本使用参考我的截图


选shadowsocks-python
服务器端口最好设置为443
加密方式选aes-256-cfb

配置文件位置和使用

/etc/shadowsocks-python/config.json

/etc/init.d/shadowsocks-python start | stop | restart | status

优化

针对OVZ

参考链接

https://sometimesnaive.org/article/linux/bash/tcp_nanqinlang-rinetd#检查-rinetd-bbr-运行状态

shell

centos7 64位

1
2
wget https://github.com/nanqinlang-tcp/tcp_nanqinlang/releases/download/rinetd/tcp_nanqinlang-rinetd-centos.sh
bash tcp_nanqinlang-rinetd-centos.sh