OpenWRT 如何通过在线安装 AdGuard Home - 技术宅银魂 - 科技改变生活 - 万事屋

OpenWRT 如何通过在线安装 AdGuard Home

AdGuard Home是个神器,拦截广告只是它的副产品而已,一旦用了AdGuard 做局域网DNS服务器,那么,局域网中的牛鬼蛇神都会被打回原形~

20240831114126737-image

步骤一:

更换软件源:点击参考

我用的是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,点击安装:

20240831114509749-image

步骤三:

在”网络”–>”DHCP/DNS”下,把DNS服务端口改为数字0。

这步和下一步很重要,很多人在OpenWRT安装AdGuardHome后看不见,就因为这些地方没设置好。

20240831114626621-image

步骤四:

在”网络”–>”接口”下,编辑”lan“口,”DHCP服务器”–>”高级设置”:

20240831114709813-image

 “6,” 后面的输入网关地址,一般是路由器自己。

步骤五:

在浏览器中访问 IP + 3000 端口即可进入到 Ad­Guard Home 的初始化界面,比如 IP 是 192.168.88.1,那么就访问 http://192.168.88.1:3000

20240831114751453-image

前面步骤对的话这里DNS端口不会显示占用。

最后把AdGuard Home配置完成就行了,客户端显示都是正常的。

20240831114835649-image

 

    没有回复内容

万事屋新帖