BBR还是无法满足你速度的需求,那就看看中转加速吧

搭建技术1年前 (2023)更新 killy
80.5K 2 3
BBR还是无法满足你速度的需求,那就看看中转加速吧

前言

近期,很多小伙伴在搭建节点后都遇到了一些问题,为什么我开了bbr或者bbrplus网速还是一如既往的慢呢?是我哪里做的不足吗?其实并非如此。bbr与bbrplus的兼容性bbr会相对好一些,有一些vps在搭建bbrplus后速度反而会下降。那么,今天我们来做一期视频,然看如何让速度慢的vps原地升天。

准备工作

可在https://tkstart.com的网络资源中购买一台国内/国外的服务器(建议可以购买国内的服务器),国内的服务器大多数速度是比国外的服务器速度块。那么我们就需要:

  1. 速度快的服务器:本期视频我还是选用我平常用的比较多的dmit。可点击红色文字直接进入主页
  2. 速度较慢的服务器,我这里是用了一条印尼节点
  3. 远程连接工具,这里使用finalshell

代码搭建前准备

获得root权限

sudo -i

Ubuntu系统开放所有端口操作指令

iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -F

BBRPLUS加速

wget -N --no-check-certificate "https://raw.githubusercontent.com/chiakge/Linux-NetSpeed/master/tcp.sh" && chmod +x tcp.sh && ./tcp.sh

安装中转机代码

国内VPS作为中转机使用如下代码

wget --no-check-certificate -qO natcfg.sh http://www.arloor.com/sh/iptablesUtils/natcfg.sh && bash natcfg.sh

国外VPS作为中转机使用如下代码

wget --no-check-certificate -qO natcfg.sh https://raw.githubusercontent.com/arloor/iptablesUtils/master/natcfg.sh && bash natcfg.sh

防火墙接触操作

Ubuntu系统操作如下

Oracle自带的Ubuntu镜像默认设置了Iptable规则,关闭它

apt-get purge netfilter-persistent

重启

reboot

强制删除

rm -rf /etc/iptables && reboot

CentOs系统操作如下

停止firewall

systemctl stop firewalld.service

禁止firewall开机启动

systemctl disable firewalld.service

关闭iptables
service iptables stop

去掉iptables开机启动

chkconfig iptables off

© 版权声明

相关文章

2 条评论

您必须登录才能参与评论!
立即登录
  • chenvivicp
    chenvivicp 投稿者

    专线节点伪装搭建教程,没有了吗

    广东省广州市
  • chenvivicp
    chenvivicp 投稿者

    专线节点伪装搭建教程,还有吗

    广东省广州市