AdGuard Home, opkg and ping on router not working

Hey, everybody. I installed AdGuard Home on my router (Asus RT-AX1800U) following these instructions from the wiki:
In general everything worked, but I encountered the same problem as the author of this post: Cannot update opkg after installing adguard.
Internet works, but when I try to run any opkg command from the router itself or just ping any site, no packets are forwarded. The author of the post above solved the problem by moving AGH to port 5353, left DNSmasq on 53 and enabled DNS forwardings to, but in this case AGH sees only one client in its interface, namely, which significantly limits its ability to keep statistics.

Help to understand how to leave AGH to listen to port 53, and DNSmasq 54, and at the same time restore the connection of the router with the Internet. I suspect that the problem is port forwarding, but my experiments with this did not give anything. Thanks in advance!

executed on the router, post the output of ping, and nslookup
post your /etc/config/firewall file..

Снимок экрана 2024-03-18 в 19.49.59

Снимок экрана 2024-03-18 в 19.51.28

/etc/config/firewall file:

Снимок экрана 2024-03-18 в 19.58.20

you need to make AGH listen to too,
or use some other, external, DNS for the router itself,
or start dnsmasq on, only.

as a temp workaround, you could try echo "nameserver" >> /etc/resolv.conf.

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
cat /etc/adguardhome.yaml

add - '' here
you could also replace with, scroll down to dns.

1 Like

Thanks, that helped! I added the address with the second line and now ping and opkg works.


Thank you all for your help!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.