安装并开启SSR

1
2
3
4
5
6
7
8
9
10
11
12
13
14
git clone -b master https://github.com/flyzy2005/ss-fly

ss-fly/ss-fly.sh -ssr
...
Congratulations, ShadowsocksR server install completed!
Your Server IP : xxx.xxx.xxx.xxx
Your Server Port : 12210
Your Password : password
Your Protocol : origin
Your obfs : plain
Your Encryption Method: aes-256-cfb

Welcome to visit:https://shadowsocks.be/9.html
Enjoy it!

相关操作ssr命令

1
2
3
4
5
6
7
8
启动:/etc/init.d/shadowsocks start
停止:/etc/init.d/shadowsocks stop
重启:/etc/init.d/shadowsocks restart
状态:/etc/init.d/shadowsocks status

配置文件路径:/etc/shadowsocks.json
日志文件路径:/var/log/shadowsocks.log
代码安装目录:/usr/local/shadowsocks

卸载ssr服务

1
./shadowsocksR.sh uninstall

一键开启BBR加速

1
ss-fly/ss-fly.sh -bbr

判断BBR加速有没有开启成功。输入以下命令:

1
sysctl net.ipv4.tcp_available_congestion_control

如果返回值为:

1
net.ipv4.tcp_available_congestion_control = bbr cubic reno
则开启成功。

Enjoy...