Using Android Private DNS AdGuard Home via reverse tunnel

Kokesh@lemmy.world to Selfhosted@lemmy.world – 7 points –

I have had AdGuard Home for a few years now, running on my small Ubuntu server. All works fine, but my ISP turned CGNAT few weeks back. I have all my stuff running via Wireguard reverse tunnel to free Oracle VPS. Everything works, except AdGuard. I've tried to forward all necessary ports, but still my phone says Can't connect. Is there any chance to get this running? The ads in apps are killing me.

8

Adguard lifetime licence - install adguard on your phone, done.

Or just configure your phone's DNS setting to use adguard DNS, or other free adblocking DNS.

What about other devices? Do they connect to it? If so , the issue would be something at the phone or mobile network provider..

I want to take a look at AdguardHome.yaml, but can't find it. I've installed it via snap. I went through the usual locations and snap folders. I'm on Ubuntu 22.something

Edit: found it and the saving file screwed it. So I've removed snap, added again and now I have working dns on Android! Happy days!

Whats your setup? Stuff dockerized? Looks like routing/iptables are set incorrectly (depending on your setup).

But my solution would be using a local DNS VPN like personalDNSfilter, exposing your services over the VPS to the net and connecting over https to them. For local access at home you can use split-brain-dns (hope thats the correct word [example.net = 8.8.8.8, at home it resolutes to 192.168.x.y]). With that you can just walk around and use every service with the best latency and bandwidth, without manually deactivating the VPN.

I've installed it with Snap. Maybe AdGuard needs to listen for traffic also from 10.0.0.2 or whatever the tunnel is set up on.

Try asking isp to disable cgnat if you havent. Worked for me

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
DNS Domain Name Service/System
VPN Virtual Private Network
VPS Virtual Private Server (opposed to shared hosting)

3 acronyms in this thread; the most compressed thread commented on today has 10 acronyms.

[Thread #291 for this sub, first seen 20th Nov 2023, 12:15] [FAQ] [Full list] [Contact] [Source code]