OpenVZ加速TCP的BBR優化魔改版本

 

Debian 8 64 步驟:git

下載rintd二進制文件(原版bbr和修改版bbr二選一便可):

wget --no-check-certificate https://raw.githubusercontent.com/mixool/rinetd/master/rinetd
wget --no-check-certificate https://raw.githubusercontent.com/mixool/rinetd/master/rinetd_bbr_powered -O /root/rinetd

適用於:Centos7+  Debian8+ Ubuntu15+
下載rintd二進制文件(原版bbr和修改版bbr二選一便可):github

wget --no-check-certificate http://ftp.al/rinetd
wget --no-check-certificate http://ftp.al/rinetd_bbr_powered -O /root/rinetd
  • 修改權限:
    chmod +x rinetd
  • 修改rinetd的配置文件rinetd.conf,添加監聽地址:

    vi rinetd.confspa

    # bindadress bindport connectaddress connectport
    0.0.0.0 443 0.0.0.0 443
    0.0.0.0 80 0.0.0.0 80

    設置開機啓動

    vi /etc/systemd/system/rinetd.servicecode

    [Unit]
    Description=rinetd
    
    [Service]
    ExecStart=/root/rinetd -f -c /root/rinetd.conf raw venet0:0
    Restart=always
      
    [Install]
    WantedBy=multi-user.target

    最後執行:

    systemctl enable rinetd.service && systemctl start rinetd.serviceip

相關文章
相關標籤/搜索