惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
博客园 - 三生石上(FineUI控件)
WordPress大学
WordPress大学
F
Fortinet All Blogs
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园 - 叶小钗
爱范儿
爱范儿
美团技术团队
H
Hackread – Cybersecurity News, Data Breaches, AI and More
有赞技术团队
有赞技术团队
博客园_首页
T
The Blog of Author Tim Ferriss
T
Tailwind CSS Blog
V
Visual Studio Blog
Jina AI
Jina AI
博客园 - Franky
量子位
MongoDB | Blog
MongoDB | Blog
L
LangChain Blog
Apple Machine Learning Research
Apple Machine Learning Research
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
U
Unit 42
aimingoo的专栏
aimingoo的专栏
M
MIT News - Artificial intelligence

Rat's Blog - BBR

Ubuntu 18.04/18.10快速开启Google BBR的方法 - Rat's Blog CentOS 6/7手动安装BBR和魔改BBR教程 - Rat's Blog 超级暴力版魔改BBR一键脚本 for Debian - Rat's Blog Debian/Ubuntu开启超级暴力版魔改BBR教程 - Rat's Blog OpenVZ平台安装魔改BBR:LKL一键安装脚本 - Rat's Blog BBR+BBR魔改+Lotsever(锐速)一键脚本 for Centos/Debian/Ubuntu - Rat's Blog 魔改BBR一键安装脚本 for Debian/CentOS - Rat's Blog Debian 9/10快速开启Google BBR的方法,实现高效单边加速 - Rat's Blog OpenVZ平台Google BBR加速TCP之Rinetd方式 - Rat's Blog
OpenVZ平台魔改BBR一键脚本之Rinetd方式 - Rat's Blog
博主: Rat's · 2018-02-05 · via Rat's Blog - BBR

说明: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原文地址


版权声明:本文为原创文章,版权归 Rat's Blog 所有,转载请注明出处!

本文链接:https://www.moerats.com/archives/504/

如教程需要更新,或者相关链接出现404,可以在文章下面评论留言。