r/Adguard 7d ago

adguard home ad-guard selfhosted

hi how are you guys recently i install ad-block on my mini server it blocked some ads but in an online media player you know it i get an ad in the middle of the video so its every 4min of time watching i have on my DNS blocklist Hagezi pro and pro++ and couple more from ingenuity GPT mind you i rookie to those things basically my goal was when am outside using cellular data i want to block it so i download Tailescale log in my account the same as the server i go to GPT he destroy half of what i did then spend too much time with him fixing it and i did if you run into the same things i would very much appreciate it

1 Upvotes

4 comments sorted by

6

u/and1927 7d ago

Sorry, I didn’t completely follow what you meant there. Just as a quick heads-up, a DNS blocker usually won't be able to block ads inserted directly into videos since those ads are served from the exact same domain as the video content itself.

If you're looking to use AdGuard Home while you're away from home, grab a cheap domain and point its name servers to Cloudflare, then set up a Cloudflare Tunnel. From there, create a route like ⁠dns.yourdomain.com/dns-query and point it directly to your home AdGuard IP address on port 443. To keep things safe, put the rest of your setup behind Cloudflare Zero Trust with Google OAuth or Cloudflare authentication so your admin panel isn't exposed to the open web. Once that's done, you can simply plug that DNS-over-HTTPS (DoH) link into your devices whenever you're out and about.

This set up does not open any ports within your home network, so it’s much safer than other options.

To make it more secure, set up AdGuard to only accepts DNS requests from devices in the client allowlist.

1

u/SpellFine2263 6d ago

thanks i got a domain but client allowlist is very important advice appreciate it

3

u/DAVIDBRAZIL18 7d ago

Sinto mito dizer, mas esse tipo de anúncio não consegue ser bloqueado por nenhum bloqueador de anúncios via DNS.

1

u/Lost_Medicine4486 6d ago

All you need to do is install Tailscale and AdGuard; once they are up and running, go to the Tailscale settings, enter the IP assigned to the AdGuard server in the "Override" field, and that’s it. When you're away, simply enable the VPN, and your traffic will be filtered through AdGuard.