hassio-addons / addon-adguard-home

AdGuard Home - Home Assistant Community Add-ons
https://addons.community
MIT License
395 stars 48 forks source link

Adguard Home not listening on Tailscale IP #387

Closed capturetheventure closed 1 year ago

capturetheventure commented 1 year ago

Problem/Motivation

I would like to use the Adguad Home DNS server running on my Home Assistant installation as DNS server for all devices connected to my Tailscale VPN network. However, I can't figure out how to get Adguard to listen on the IP assigned to my Home Assistant by the Tailscale addon (100.1XX.XXX.XXX).

Expected behavior

I would have expected that the Adguad addon automatically binds/listens on all available interfaces, including the Tailscale VPN IP as soon as the addon is installed.

Actual behavior

I can't get Adguard to listen on the Tailscale VPN IP. I also could not find any way to add the additional interface manually (bind_host) because this would require to modify the AdGuardHome.yaml, which is not accessible when Adguad home is installed via the Home Assistant addon.

Steps to reproduce

Install Tailscale addon, login, restart HA. Check the setup page of Adguad Home, Tailscale IP is not listed.

Proposed changes

Add an option to bind the Tailscale interface to the Adguad Home addon. An option to manually configure the "bind_host:" entries via the addon configuration would possibly work too.

capturetheventure commented 1 year ago

Nevermind, just saw that this issue was fixed in the latest update (allow binding to local host).