AdGuard Home是个神器,拦截广告只是它的副产品而已,一旦用了AdGuard 做局域网DNS服务器,那么,局域网中的牛鬼蛇神都会被打回原形~
步骤一:
更换软件源:点击参考
我用的是immortalwrt OpenWRT,默认源:
src/gz immortalwrt_core https://mirrors.vsean.net/openwrt/releases/23.05.1/targets/mediatek/filogic/packages
src/gz immortalwrt_base https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/aarch64_cortex-a53/base
src/gz immortalwrt_luci https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/aarch64_cortex-a53/luci
src/gz immortalwrt_packages https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/aarch64_cortex-a53/packages
src/gz immortalwrt_routing https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/aarch64_cortex-a53/routing
src/gz immortalwrt_telephony https://mirrors.vsean.net/openwrt/releases/23.05.1/packages/aarch64_cortex-a53/telephony
可以考虑换成immortalwrt 自己的默认源:
src/gz immortalwrt_core https://downloads.immortalwrt.org/releases/23.05.1/targets/mediatek/filogic/packages
src/gz immortalwrt_base https://downloads.immortalwrt.org/releases/23.05.1/packages/aarch64_cortex-a53/base
src/gz immortalwrt_luci https://downloads.immortalwrt.org/releases/23.05.1/packages/aarch64_cortex-a53/luci
src/gz immortalwrt_packages https://downloads.immortalwrt.org/releases/23.05.1/packages/aarch64_cortex-a53/packages
src/gz immortalwrt_routing https://downloads.immortalwrt.org/releases/23.05.1/packages/aarch64_cortex-a53/routing
src/gz immortalwrt_telephony https://downloads.immortalwrt.org/releases/23.05.1/packages/aarch64_cortex-a53/telephony
或者用阿里云的源也是一个不错的选择(大概)(以X86架构,最新23.05.3版为例)
src/gz openwrt_core https://mirrors.aliyun.com/openwrt/releases/23.05.3/targets/x86/64/packages
src/gz openwrt_base https://mirrors.aliyun.com/openwrt/releases/23.05.3/packages/x86_64/base
src/gz openwrt_luci https://mirrors.aliyun.com/openwrt/releases/23.05.3/packages/x86_64/luci
src/gz openwrt_packages https://mirrors.aliyun.com/openwrt/releases/23.05.3/packages/x86_64/packages
src/gz openwrt_routing https://mirrors.aliyun.com/openwrt/releases/23.05.3/packages/x86_64/routing
src/gz openwrt_telephony https://mirrors.aliyun.com/openwrt/releases/23.05.3/packages/x86_64/telephony
步骤二:
点击更新列表,搜索adguard,点击安装:
步骤三:
在”网络”–>”DHCP/DNS”下,把DNS服务端口改为数字0。
这步和下一步很重要,很多人在OpenWRT安装AdGuardHome后看不见,就因为这些地方没设置好。
步骤四:
在”网络”–>”接口”下,编辑”lan“口,”DHCP服务器”–>”高级设置”:
“6,” 后面的输入网关地址,一般是路由器自己。
步骤五:
在浏览器中访问 IP + 3000 端口即可进入到 AdGuard Home 的初始化界面,比如 IP 是 192.168.88.1,那么就访问 http://192.168.88.1:3000
前面步骤对的话这里DNS端口不会显示占用。
最后把AdGuard Home配置完成就行了,客户端显示都是正常的。
没有回复内容