New to opwnwrt. Picked up a Belkin RT3200 last week. Got openWRT running on it but I can’t figure out adguard home.
I installed adguard and followed the setup guide on the adguard homepage. But the last part, where to put the dns addresses in. No idea where to put them. There’s so many places in openWRT that say dns etc. And most options, when I tried to put the adguard home dns server address in (192.168.0.1:52 eg) I get an error saying it’s not a proper address.
I know I’ve set it up wrong as it’s not blocking any ads and the statistics are all at 0 etc.
I’ve googled and honestly it’s all absolutely over my head.
All I want to do is block as many ads as possible, network wide (On my devices that are connected via Ethernet and Wi-Fi), it’s the main reason I grabbed an openWRT router.
Any help would be appreciated. If someone could just tell me where I’m supposed to put the addresses I’d really appreciate it.
From the pic, you'd put the actual DNS servers where you want Global lookups to be performed on (e.g. 188.8.131.52 CloudFlare DNS, 184.108.40.206 Google DNS or 220.127.116.11 Quad 9 DNS). You don't self-reference.
The instructions you posted says it's the configuration for clients/end devces - not the server. The instructions are merely telling you that Adguard is listening on its own interface(s) for DNS queries.
I get that, for you, I come across as incredibly dim. As you're not understanding what I don't get.
I don't really know how I can be any clearer on what I don't get. And I'm not trying to be arsey, I appreciate you taking the time to reply and trying to help. I'm clearly just out of my depth here.
This setup automatically covers all devices connected to your home router, no need to configure each of them manually.
Open the preferences for your router. Usually, you can access it from your browser via a URL, such as http://192.168.0.1/ or http://192.168.1.1/. You may be prompted to enter a password. If you don't remember it, you can often reset the password by pressing a button on the router itself, but be aware that if this procedure is chosen, you will probably lose the entire router configuration. If your router requires an app to set it up, please install the app on your phone or PC and use it to access the router’s settings.
Find the DHCP/DNS settings. Look for the DNS letters next to a field which allows two or three sets of numbers, each broken into four groups of one to three digits.
Enter your AdGuard Home server addresses there.
That's from the AdGuard setup guide.
I assumed I'd take one of these addresses, as given to me on the adguard setup page
And put them somewhere in the DHCP settings in OpenWrt, and that would be it, AdGuard would be set up.
I was obviously wrong. Because they're invalid addresses when put in the DNS forwarding. So I need to use Cloudflare DNS forwarding etc. So I've done that. I'm not getting how to make adguard home actually work, statistics are still at 0, I'm still getting ads, so I am obviously missing a step somewhere. But I don't know what that step is. I promise I'm not a simple as I seem in this post, once I figure it out it will click into place and I'll feel suitably idiotic for not grasping it. But until then, Im just stuck at idiotic.
The following thread is the current updated version to follow.
You should not need to change openwrt settings as those scripts do the work to move dnsmasq from port 53 (DNS port) to a backup port (54). This allows AGH to become your primary DNS server for your downstream LAN clients. Dnsmasq becomes your local dns server for your downstream clients. In short? public internet addresses are looked up via AGH, but local lan addresses eg laptop.lan are looked up via dnsmasq.
As for DNS settings, there are multiple places and reasons for this.
Dns settings for OpenWrt is what the router uses to look up data. (WAN Dns)
This doesn't need to change but there is a script to change from your ISP dns for the router to a public one like Cloudflare or any other you choose.
Dns settings for DHCP is what your downstream clients will use. (Lan DNS) This is passed by DHCP settings and is also set via those scripts.
That hopefully will help with your confusion.
:edit: tided the dns bit to make it more readable.