Updated at: 2025-04-01
OpenWrt One 插电开机
用网线连接电脑和 OpenWrt One 的 1G 网口
如果电脑的 IP 不是相同网段则先改成相同网段
电脑 ssh 进入 OpenWrt
ssh root@192.168.1.1
修改路由 IP
uci set network.lan.ipaddr=192.168.2.1
uci commit
重启或断电重启
reboot
移除 ULA
将调制解调器与路由的 2.5G 网口连接
因为目前大部分调制解调器不能下发 IPv6 PD,所以用 OpenWrt 拨号
配置 LAN
开启 Wi-FI
在电脑安装 brook CLI
此时把电脑重新插拔一下网线,自动获取 IP,应该可以获取到 GUA,DNS 应该也是 GUA
brook dnsclient -d http3.ooo -t A -s 192.168.2.1:53
brook dnsclient -d http3.ooo -t AAAA -s 192.168.2.1:53
brook dnsclient -d http3.ooo -t A -s [xxx]:53
brook dnsclient -d http3.ooo -t AAAA -s [xxx]:53
xxx 是你电脑获取到的 IPv6 GUA DNS
brook echoclient -s 137.184.237.95:7777
brook echoclient -s [2604:a880:4:1d0::4cf:b000]:7777
下载 brook CLI 重命名为
brook
并复制到 OpenWrt
brook dnsclient -d http3.ooo -t A -s 127.0.0.1:53
brook dnsclient -d http3.ooo -t AAAA -s 127.0.0.1:53
brook dnsclient -d http3.ooo -t A -s [::1]:53
brook dnsclient -d http3.ooo -t AAAA -s [::1]:53
brook echoclient -s 137.184.237.95:7777
brook echoclient -s [2604:a880:4:1d0::4cf:b000]:7777
也可以测试一下你的 Brook Server
brook testbrook --link 'brook://...'
截至本文,最新版是 24.10.0,下载 openwrt-24.10.0-mediatek-filogic-openwrt_one-squashfs-sysupgrade.itb
通过 OpenWrt web 界面升级
检查一下 /etc/opkg/distfeeds.conf
src/gz openwrt_core https://downloads.openwrt.org/releases/24.10.0/targets/mediatek/filogic/packages
src/gz openwrt_base https://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a53/base
src/gz openwrt_kmods https://downloads.openwrt.org/releases/24.10.0/targets/mediatek/filogic/kmods/6.6.73-1-d649d775435da5a8637f7a955a80d331
src/gz openwrt_luci https://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a53/luci
src/gz openwrt_packages https://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a53/packages
src/gz openwrt_routing https://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a53/routing
src/gz openwrt_telephony https://downloads.openwrt.org/releases/24.10.0/packages/aarch64_cortex-a53/telephony
opkg update
opkg install ca-bundle kmod-nf-socket kmod-nft-socket kmod-nf-tproxy kmod-nft-tproxy procps-ng-ps
下载 brook.openwrt CLI 重命名为
brook.openwrt
并复制到 OpenWrt
brook.openwrt --link 'brook://...'
看看你的电脑上分配的两个 DNS,一个 IPv4, 一个 IPv6
brook dnsclient -d http3.ooo -t A -s 192.168.2.1:53
brook dnsclient -d http3.ooo -t AAAA -s 192.168.2.1:53
brook dnsclient -d http3.ooo -t A -s [xxx]:53
brook dnsclient -d http3.ooo -t AAAA -s [xxx]:53
xxx 是你电脑获取到的 IPv6 GUA DNS
测试 IPv4 和 IPv6,TCP 和 UDP,当然你的 Brook Server 应该支持双栈
brook echoclient -s 137.184.237.95:7777
brook echoclient -s [2604:a880:4:1d0::4cf:b000]:7777