7
submitted 11 months ago by kokesh@lemmy.world to c/selfhosted@lemmy.world

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.

top 8 comments
sorted by: hot top controversial new old

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.

[-] anzo@programming.dev 1 points 11 months ago

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

[-] rambos@lemm.ee 1 points 11 months ago

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

[-] kokesh@lemmy.world 1 points 11 months ago* (last edited 11 months ago)

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

[-] kokesh@lemmy.world 1 points 11 months ago

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!

[-] plague_sapiens@lemmy.world 1 points 11 months ago

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.

[-] kokesh@lemmy.world 1 points 11 months ago

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.

[-] Decronym@lemmy.decronym.xyz 0 points 11 months ago* (last edited 11 months ago)

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]

this post was submitted on 19 Nov 2023
7 points (81.8% liked)

Selfhosted

39677 readers
365 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS