Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Adguard Docker with Tailscale - client IPs all 127.0.0.1

Featured Replies

Been playing around with the Tailscale integration directly to Docker containers. That's working all fine so far.
Adguard Home in Docker with Tailscale works too, DNS resolution is working as expected. The only thing is the logging of the Clients.

 

Internal IPs are listed correctly in the Query Log from Adguard.
When using Adguard as a DNS through Tailscale, the Query Log shows each request by localhost (127.0.0.1). So it's not getting/seeing the Tailscale IPs that are doing the requests.
 

Bildschirmfoto2025-01-30um01_44_04.thumb.png.8ca142a9329c14cbb90b9d2cbdd11863.png
 

any idea how to fix that?

thanks

6 hours ago, tem_invictus said:

any idea how to fix that?

Can you please share a bit more information on how you configured the Integration, a screenshot from the settings would be helpful.

  • Author

thanks, here is the configuration from the adguard container

Bildschirmfoto2025-01-30um14_51_28.thumb.png.5803dd06b098bde2153ee718ffafd1d9.png
Bildschirmfoto2025-01-30um14_51_36.thumb.png.2fc882e677abf1a17c83c96c303ac635.png

23 minutes ago, tem_invictus said:

thanks, here is the configuration from the adguard container

Just a heads up until I have time to look into that, the Tailscale State Directory is wrong, you always have to use the path inside the container not the host path.

  • Author

Ok, have to look again for the Tailscale Directory. Funny enough with that directory, it didn't complain.

 

Yes I did set the DNS in Tailscale Admin to Adguards Tailscale address. But as mentioned, it the Adguard log, it logs those request as coming from localhost.

7 hours ago, tem_invictus said:

Funny enough with that directory, it didn't complain.

Because you override the directory which will result the integration to create a folder inside the container at that path. However if you change something in the Docker template or the container is updated you will have to re-authenticate the container in your Tailnet <- which you will also have to do when changing the state directory (please don't forget to delete the old authenticated container first from your Tailnet).

 

If you are using the official container I would recommend this (/opt/adguardhome/conf/.tailscale_state) :
grafik.png.8d6a9b8c661fe2b929a1c53f53dbba1f.png

 

7 hours ago, tem_invictus said:

Yes I did set the DNS in Tailscale Admin to Adguards Tailscale address. But as mentioned, it the Adguard log, it logs those request as coming from localhost.

I'm not 100% sure how to solve this in AdGuard I can only tell you that you have to enable a few extra options in PiHole for it to work, see this tutorial for PiHole here:
https://tailscale.com/kb/1114/pi-hole

 

Maybe also try to add this (--accept-dns=false) :
grafik.png.d32cb0ed5024b8a5ff0dc4750c14dab4.png

  • 2 weeks later...
  • Author

Sorry for the late reply, been pretty busy at work.

Thank you for the input, I tried getting it to work, but not much luck. I will keep running Adguard Home on a VM with Tailscale installed, there I get the correct addresses for the Tailscale clients. That's fine for me, I just thought maybe I can get a VM of the system.

  • 1 month later...

Hello, I have installed Tailscale directly in the Adguard Home Docker container.  I have entered the Adguard Tailscale address in DNS under the Tailscale Admin settings. Everything works so far. Unfortunately, only the IP addresses of Tailscale are displayed in the Adguard request log. Is there a way to additionally display the client names in Adguard?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.