• 欢迎访问db1024网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏db1024吧

OpenVZ平台魔改BBR一键脚本之Rinetd方式

主机教程 Liam 1年前 (2019-05-01) 564次浏览 14个评论 扫描二维码
文章目录[隐藏]

说明:Rinetd就是另外一种lkl bbr,好处是不需要开启TUN/TAP,对于后台没有或者找不到这个模块的,刚好可以用一下。其实这种方式的BBR加速很早前就提过了,参考:OpenVZ平台Google BBR加速TCP之Rinetd方式,不过就是需要手动安装,对新手有点不友好,这里loc南琴浪大佬根据这种方式,写了个魔改BBR一键脚本,就发一下。

更新

【2018年3月24日】
新增多网卡适配。

【2018年3月10日】
做了一个更暴力的rinetd-bbr module,即加强版魔改BBR,具体效果因线路而定。并修改部分代码细节。

安装

要求:OpenVZ架构,64 Bit系统。

使用命令:

1、Debian or Ubuntu系统

#适用于单网卡(单IP)服务器: wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-debianorubuntu.sh bash tcp_nanqinlang-rinetd-debianorubuntu.sh #如果提示only support OpenVZ !,则使用下面这个脚本 wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0-nocheckvirt/tcp_nanqinlang-rinetd-debianorubuntu-nocheckvirt.sh bash tcp_nanqinlang-rinetd-debianorubuntu-nocheckvirt.sh  #适用于多网卡(多IP)服务器,会为所有网卡(所有IP)提供加速: wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-debianorubuntu-multiNIC.sh bash tcp_nanqinlang-rinetd-debianorubuntu-multiNIC.sh #如果提示only support OpenVZ !,则使用下面这个脚本 wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0-nocheckvirt/tcp_nanqinlang-rinetd-debianorubuntu-nocheckvirt-multiNIC.sh bash tcp_nanqinlang-rinetd-debianorubuntu-nocheckvirt-multiNIC.sh 

2、CentOS 7系统

#和上面一样,也分单网卡和多网卡版本 #单网卡 wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-centos.sh bash tcp_nanqinlang-rinetd-centos.sh #如果提示only support OpenVZ !,则使用下面这个脚本 wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0-nocheckvirt/tcp_nanqinlang-rinetd-centos-nocheckvirt.sh bash tcp_nanqinlang-rinetd-centos-nocheckvirt.sh  #多网卡 wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0/tcp_nanqinlang-rinetd-centos.sh bash tcp_nanqinlang-rinetd-centos.sh #如果提示only support OpenVZ !,则使用下面这个脚本 wget https://github.com/tcp-nanqinlang/lkl-rinetd/releases/download/1.1.0-nocheckvirt/tcp_nanqinlang-rinetd-debianorubuntu-nocheckvirt-multiNIC.sh bash tcp_nanqinlang-rinetd-debianorubuntu-nocheckvirt-multiNIC.sh 

使用说明

/home/tcp_nanqinlang进行安装,所以安装完成后不要动这个文件夹了(除非你想修改端口)。

安装过程中,会提示输入端口号。多个端口号用空格隔开。不支持端口段。

安装完成后,会开启rinetd-bbr。以后重启机器也会随开机自启。

使用前请注意自己的iptables相关设置。

由于脚本刚写,所以对部分系统可能存在点问题,有疑问的欢迎去联系大佬。方式通过:Github issueTelegram原文地址


db1024 , 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:OpenVZ平台魔改BBR一键脚本之Rinetd方式
喜欢 (1)
关于作者:
发表我的评论
取消评论
表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
(14)个小伙伴在吐槽
  1. May I simply just say what a comfort to discover someone that truly knows what they're talking about on the web. You actually realize how to bring an issue to light and make it important. More and more people ought to read this and understand this side of the story. I was surprised that you aren't more popular given that you most certainly have the gift.
    best web hosting company2020-09-05 20:54 回复 Mac OS X | Chrome 56.0.2986.42
  2. I'm really enjoying the theme/design of your blog. Do you ever run into any web browser compatibility problems? A couple of my blog visitors have complained about my website not operating correctly in Explorer but looks great in Safari. Do you have any advice to help fix this issue?
    hosting services2020-08-31 18:30 回复 Mac OS X | Firefox浏览器 61.0
  3. Keep this going please, great job!
    black mass2020-08-31 12:29 回复 Mac OS X | Chrome 67.0.3396.62
  4. Hi! This is kind of off topic but I need some advice from an established blog. Is it very hard to set up your own blog? I'm not very techincal but I can figure things out pretty quick. I'm thinking about setting up my own but I'm not sure where to begin. Do you have any tips or suggestions? Thanks
    black mass2020-08-28 20:54 回复 Windows 7 | Opera 9.80
  5. I just couldn't depart your web site prior to suggesting that I really loved the usual info an individual supply to your visitors? Is gonna be back steadily in order to check up on new posts
    cheap flights2020-08-28 08:55 回复 Mac OS X | Safari浏览器 601.1.27
  6. Thanks very nice blog!
    cheap flights2020-08-27 14:12 回复 Linux | Firefox浏览器 60.0
  7. I'll right away seize your rss as I can't find your e-mail subscription hyperlink or e-newsletter service. Do you have any? Kindly permit me recognise in order that I may subscribe. Thanks. 2CSYEon cheap flights
    cheap flights2020-08-26 04:07 回复 Mac OS X | Chrome 66.0.3359.139
  8. Good answer back in return of this difficulty with genuine arguments and describing all on the topic of that. cheap flights y2yxvvfw
    cheap flights2020-08-25 16:01 回复 Linux | Chrome 61.0.3116.0
  9. Does your site have a contact page? I'm having a tough time locating it but, I'd like to send you an e-mail. I've got some ideas for your blog you might be interested in hearing. Either way, great website and I look forward to seeing it develop over time. cheap flights 34pIoq5
    cheap flights2020-08-24 23:20 回复 Linux | Chrome 66.0.3359.117
  10. I think this is among the most significant info for me. And i'm glad reading your article. But wanna remark on few general things, The site style is wonderful, the articles is really great : D. Good job, cheers
    cheap flights2020-08-24 13:58 回复 Mac OS X | Chrome 66.0.3359.139
  11. I've been surfing on-line greater than 3 hours as of late, yet I never found any interesting article like yours. It is pretty value sufficient for me. In my view, if all site owners and bloggers made excellent content as you did, the web can be a lot more useful than ever before.
    best web hosting 20202020-08-14 19:01 回复 Linux | Firefox浏览器 60.0.1
  12. Hey! I know this is sort of off-topic but I had to ask. Does building a well-established website such as yours require a lot of work? I'm brand new to blogging but I do write in my journal every day. I'd like to start a blog so I can share my personal experience and feelings online. Please let me know if you have any kind of suggestions or tips for brand new aspiring blog owners. Thankyou!
    website hosting2020-08-14 15:32 回复 Linux | Chrome 65.0.3325.109
  13. I'm really inspired along with your writing skills and also with the format in your weblog. Is this a paid theme or did you customize it your self? Anyway keep up the excellent quality writing, it's uncommon to peer a nice blog like this one nowadays.. adreamoftrains web hosting providers
    adreamoftrains web hosting services2020-08-11 20:59 回复 Linux | Firefox浏览器 61.0
  14. Excellent blog here! Also your site loads up fast! What web host are you using? Can I get your affiliate link to your host? I wish my web site loaded up as quickly as yours lol
    web hosting company2020-08-10 09:47 回复 Linux | Chrome 67.0.3396.87