Skip to content

keke1975/rinetd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

使用@linhua的黑科技rinetd为OVZ构架的VPS开启bbr,适用于CentOS/RHEL7+,Ubuntu15+,Debian8+


下载rintd二进制文件(原版bbr和修改版bbr二选一即可):

1. wget --no-check-certificate https://raw.githubusercontent.com/mixool/rinetd/master/rinetd
2. wget --no-check-certificate https://raw.githubusercontent.com/mixool/rinetd/master/rinetd_bbr_powered -O /root/rinetd
  • 修改权限:
    chmod +x rinetd

修改rinetd的配置文件rinetd.conf,添加监听地址:

vi rinetd.conf

# 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.service

[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.service


LKL BBR RINETD  

For more details:linhua55/lkl_study
PS: 推荐使用最新的One-key script  

  • 更新个自己写的一键(rinetd文件不一定是最新的):
    curl https://raw.githubusercontent.com/mixool/script/master/rinetd.sh | bash

Releases

No releases published

Packages

No packages published