Home Assistant Community Add-on: AdGuard Home

As I have suggested many times if you have an issue then open it on Github. Not everyone has a problem…?

Thanks for this. I’d like to try it.
In case it doesn’t work for me or something else screws up, how can I undo these settings?
Would this work to delete them (changing the -A to a -D)?

iptables -t nat -D POSTROUTING -s 172.30.32.1/32 -d 172.30.32.1/32 -p udp -m udp --dport 53 -j MASQUERADE
iptables -t nat -D DOCKER ! -i hassio -p udp -m udp --dport 53 -j DNAT --to-destination 172.30.32.1:53
iptables -t nat -D DOCKER -d 172.30.32.1/32 ! -i hassio -o hassio -p udp -m udp --dport 53 -j ACCEPT

Thank you! This has been driving me crazy but that solved it. Really appreciate the tip.

Yes, it will remove them.

Hi, I’d need some assistance with the AdGuard Home IP configuration. After months of trouble-free operation, my AdGuard Home add-on seems to have stopped working . Suddenly Google Image Search worked flawlessly again without any limitation :wink:

I have uninstalled and reinstalled the add-on - but nothing has changed. I do not remember how I installed it the last time when it was working, but now under Setup Guide only the 127.0.0.1 is shown as IP it is listening to. I do not get it running correctly anymore :grimacing:

I now installed Raspbian & AdGuard Home on a second Raspberry Pi and it directly worked.
However I’d like to get the one in my Home Assistant platform working again …

a) could you please assist me in how to configure it to the hassio IP again ?
b) do you have any idea what happend (and how I can avoid it the next time)?

Did you try ‘Saving’ the settings in the Network section of the configuration page after reinstaling?

1 Like

Not yet, so I did it now: “Fehler beim Speichern der Add-on-Konfiguration, Unknown error, see supervisor logs” (Error when saving the add-on configuration). The same happen when I try to reset it to the factory settings (Error resetting add-on configuration.)

Ok. I tried it multiple times, restarted the system and got the same error message again and again. It was try #6 or #7 - the whole system was incredible slow - when I received … nothing. No error message. So I restartet the Pi another time AND NOW IT WORKS AGAIN! Thanks a lot for your support!!! :grinning:

@moto2000 Maybe you could also tell me, where to find the AdGuardHome.yaml on my HASS Raspberry Pi - so I could copy the configuration from the second one and would not have to enter all the client rules and filters manually a second time :wink:

1 Like

Hi - how can I migrate another Adguard instance (AdGuardHome.yaml config) into this add-on?

I cant seem to find where this is stored with the HA add on. thanks!

Can someone please explain to me how to make my individual client statistics show up? Not just my routers ip? Do I need to make ad guard my dhcp server or can I somehow change my router settings? Thank you

Did you already change the DNS config in your router/modem? In there you’ll need to point to your adguard.

This is a fairly common issue adguard only router as client - Google Search

Essentially you have to change the DNS servers that your router is serving out with DHCP requests. Alternatively as you have surmised you can turn off the DHCP server on your router and let Adguard do it all for you.

How do I do this?

Totally dependent on the type of modem/router you have.
You’ll need to find out what kind of modem/router you have and then find the manual and find where you can change the DNS settings. If you find it and are allowed to change it, put there the ip address where your Adguard Home is running.

Mind you that for some provider provided modems they don’t allow you to change these settings in the modem.

I did that. That’s why it shown my router as the client

Whilst you need to change the DNS setting of your router you also need to change the DHCP settings. When your router answers a DHCP request for an IP address from a client it also sends out the IP addresses of the default gateway (your router) and the DNS server(s). So look in the DHCP settings if your router and see if default gateway and DNS servers can be specified. If you can’t (ie. your router doesn’t allow them to be changed) then your option is to turn off the DHCP server on the router and let Adguard do it. You could also go to each client and manually change the DNS server settings but that is laborious.

Hello I’m trying to setup my AdGuard Home so I can use Split Brain DNS but I can’t find it in dns setting, is it removed? How to I fix this? I’m using the setup from this page Companion App Networking | Home Assistant Companion Docs

Hello,

I tried accessing AdGuard over the last day or so, and keep getting the following message:

401: Unauthorized

My configuration is as follows

Add-on version: 4.1.6
You are running the latest version of this add-on.
System: Home Assistant OS 6.1 (aarch64 / raspberrypi3-64)
Home Assistant Core: 2021.7.3
Home Assistant Supervisor: 2021.06.8

The Supervisor logs show the following every time I try to access AdGuard from the sidebar:

WARNING (MainThread) [supervisor.api.ingress] No valid ingress session None

Re-installing the add-on has no effect. How should I proceed?

EDIT: Apparently, it is a Firefox problem: Seeing a lot of "No valid ingress session" errors with 0.117.0b6, sometimes resulting in a popup with "Unable to load the panel source: /api/hassio/app/entrypoint.js." · Issue #2185 · home-assistant/supervisor · GitHub
Fixed by disabling Enhanced Tracking Protection.

1 Like

EDIT: Apparently, it is a Firefox problem: Seeing a lot of “No valid ingress session” errors with 0.117.0b6, sometimes resulting in a popup with “Unable to load the panel source: /api/hassio/app/entrypoint.js.” · Issue #2185 · home-assistant/supervisor · GitHub
Fixed by disabling Enhanced Tracking Protection.

Can confirm this fixed it for me! Thanks for the advise!

So, I’m trying to add DHCP clients to AdGuard Home but I keep getting this error:

I’m running a supervised installation and here’s the DHCP configs:

Am I missing something?