Ubuntu 16 下部署 VPN

Ubuntu
2018-11-07 12:29

1. 部署 VPN

curl -sSL https://www.zhengweiyu.com/installer/vpn.sh | bash
chmod +x ./shadowsocksR.sh
./shadowsocksR.sh 2>&1 | tee shadowsocksR.log

2. 安装 BBR

sudo apt-get install linux-generic-hwe-16.04
sudo reboot

sudo modprobe tcp_bbr
echo "tcp_bbr" | sudo tee -a /etc/modules-load.d/modules.conf
echo "net.core.default_qdisc=fq" | sudo tee -a /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p

3. 验证

sysctl net.ipv4.tcp_congestion_control

返回结果应为

net.ipv4.tcp_congestion_control = bbr
加载 Disqus 评论

© 版权所有 悟理 2013-2019
Powered By Jekyll & Semantic UI

Ubuntu 16 下部署 VPN

Ubuntu
2018-11-07 12:29

1. 部署 VPN

curl -sSL https://www.zhengweiyu.com/installer/vpn.sh | bash
chmod +x ./shadowsocksR.sh
./shadowsocksR.sh 2>&1 | tee shadowsocksR.log

2. 安装 BBR

sudo apt-get install linux-generic-hwe-16.04
sudo reboot

sudo modprobe tcp_bbr
echo "tcp_bbr" | sudo tee -a /etc/modules-load.d/modules.conf
echo "net.core.default_qdisc=fq" | sudo tee -a /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p

3. 验证

sysctl net.ipv4.tcp_congestion_control

返回结果应为

net.ipv4.tcp_congestion_control = bbr
加载 Disqus 评论

© 版权所有 悟理 2013-2019
Powered By Jekyll & Semantic UI

Ubuntu 16 下部署 VPN

Ubuntu
2018-11-07 12:29

1. 部署 VPN

curl -sSL https://www.zhengweiyu.com/installer/vpn.sh | bash
chmod +x ./shadowsocksR.sh
./shadowsocksR.sh 2>&1 | tee shadowsocksR.log

2. 安装 BBR

sudo apt-get install linux-generic-hwe-16.04
sudo reboot

sudo modprobe tcp_bbr
echo "tcp_bbr" | sudo tee -a /etc/modules-load.d/modules.conf
echo "net.core.default_qdisc=fq" | sudo tee -a /etc/sysctl.conf
echo "net.ipv4.tcp_congestion_control=bbr" | sudo tee -a /etc/sysctl.conf
sudo sysctl -p

3. 验证

sysctl net.ipv4.tcp_congestion_control

返回结果应为

net.ipv4.tcp_congestion_control = bbr
加载 Disqus 评论

© 版权所有 悟理 2013-2019
Powered By Jekyll & Semantic UI