注意,有些双倍发包的加速插件是不符合IDC的规定的,如果过度使用可能会被封
补充说明:OVZ都会有超售的情况,实际体验上还是远不如KVM,所以会出现装了插件,但是提速不明显的情况
openvz使用魔改的BBR大致有2个版本:UML、LKL
它们都要求升级内核(最新版本的Linux内核(4.9-rc8)内部集成了BBR)
| ;”;” “#”为注释符号,去掉前面的符号,该行才会生效 | |
| ; 基于lhie1和KOP-XIAO配置整理 | |
| ; 自用规则,随缘更新。欢迎访问 https://merlinblog.xyz/ | |
| ; Modified by phlinhng | |
| [general] | |
| excluded_routes=192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, 100.64.0.0/10, 17.0.0.0/8 | |
| server_check_url=http://www.gstatic.com/generate_204 | 
Debian / Ubuntu 系可直接運行以下指令,安裝 xanmod-edge 內核後重啟。此內核安裝完後會自動啟用 BBR,無需手動配置。
echo 'deb http://deb.xanmod.org releases main' | tee /etc/apt/sources.list.d/xanmod-kernel.list
wget -qO - https://dl.xanmod.org/gpg.key | apt-key --keyring /etc/apt/trusted.gpg.d/xanmod-kernel.gpg add -
apt update && apt upgrade -y && apt install linux-xanmod-edge -yapt install wireguard-tools -y| dnsmasq_install=1 | |
| if [[ ${dnsmasq_install} == 1 ]]; then | |
| if [[ ! -d /etc/dnscrypt-proxy/ ]]; then | |
| mkdir /etc/dnscrypt-proxy/ | |
| fi | |
| cat > '/etc/dnscrypt-proxy/blacklist.txt' << EOF | |
| #!!! Do not change these settings unless you know what you are doing !!! | |
| ########################### | |
| # Blacklist # | |
| ########################### | 
| [base] | |
| name=CentOS-5 - Base | |
| baseurl=http://vault.centos.org/5.11/os/$basearch/ | |
| gpgcheck=1 | |
| gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 | |
| [updates] | |
| name=CentOS-5 - Updates | |
| baseurl=http://vault.centos.org/5.11/updates/$basearch/ | |
| gpgcheck=1 |