Skip to content

Instantly share code, notes, and snippets.

@mazb
mazb / cidr
Last active April 16, 2026 11:54
8.8.8.8/32
1.1.1.1/32
153.101.0.0/16
122.192.0.0/16
112.24.0.0/16
223.66.0.0/16
185.139.0.0/16
82.39.0.0/16
89.144.0.0/16
195.206.0.0/16
@mazb
mazb / wgcf-tutorial.md
Created January 5, 2022 02:50 — forked from phlinhng/wgcf-tutorial.md
WGCF 筆記

1. 更換內核至 5.6 以上版本

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 -y

2. 安裝 wireguard-tools 與 resolvconf

apt install wireguard-tools resolvconf -y