#AdGuard and Vaultwarden on HAOS
1 messages · Page 1 of 1 (latest)
🌟 Are pesky ads disrupting your internet experience? Longing for a private digital sanctuary? Your solution awaits with the perfect blend of AdGuard and Home Assistant 🚀.
Are you ready to take control and bid farewell to intrusive ads? 🛡️🏠
FixtSE Web: https://fixtse.com/blog/adguard-add-on
Tailscale Add-on Video: https://youtu....
This one good?
Any idea why adguard does not work?
some apps on it will get their ads via the CDN so you cant block ads without blocking all content.
but also the firestick itself will try and use external dns (google dns i believe) first even if you point it a local one. to stop it doing this you have to firewall off outgoing port 53 connections on a network level. and potentially disable ipv6 too.
some apps will also get upset that they cant get their ads.
both amazon and the app devs have gone to many lengths to make it difficult to do what you are trying to do.
MHH OK
How can i see all clients in adguard?
Hand out adguard's ip via DHCP so they use that. Don't let your router ask adguard.
But if my adguard server for whatever reason should stop working then my internet would not work right?
this one you mean right?
Would this setup work?
In the FritzBox settings, go to:
Home Network → Network → Network Settings → IPv4 Configuration
Set the DHCP DNS server to the IP address of my AdGuard Home server.
Then go to:
Internet → Account Information → DNS Server
Set the DNS server to an external resolver like Quad9 (9.9.9.9) or Cloudflare (1.1.1.1).
This way, all devices use AdGuard Home for DNS, and the FritzBox itself uses an external DNS as fallback if AdGuard Home is not responding?
Yep. Yep. That's why you ideally have more than one and don't host it as addon which will go down on HAOS upgrades. It's not a fallback.
What would be a cheap fallback?
There is no real DNS fallback. Primary and Secondary do not work like that.
Possible to use a Rasberry pi 1 as a backup?
What I'm saying is that the upstream for fritzbox is not a fallback for the clients at all. Your clients use their upstream and fritzbox uses its.
Sure.
Yeah right only the fritzbox would stay online
Is there a router that can choose dhcp server tough?
Which router can hand out two DNS servers via DHCP (AdGuard Home as primary and a fallback DNS as secondary)?
Sure, thank you already.
I feel a bit lost doing all this for the first time 😅
It's weird that fritzbox apparently can't do that. Pretty basic feature. I'll check tomorrow.
Yeah thank you
Alright so apparently fritzbox can't give more than one DNS server but that's not an issue. You want to use keepalived anyway and have one ip that both adguards share. You can also use adguard as DHCP server instead if you have no VLANs.
So you mean that I have two options, use 2 adguards one the same IP or use Adguard as DHCP Server?
Yeah. Not that the same time but: https://en.wikipedia.org/wiki/Virtual_Router_Redundancy_Protocol
I recommend and use the first option with keepalived. I don't think HAOS support that though.
Keepalived provides robust High-Availability and Load Balancing features for Linux critical infrastructures
This one?
Things like this is why this is part of my list here: https://gist.github.com/Impact123/c23c36eafe1672ec056233e450a86ae2
Not every service (very few imho) are feasible to run inside HAOS
I would rather use the option to have a fallback in adguard
Yeah I would like to do that but I only have 4gb of ram currently
So how do I install that in adguard?
I see. Not sure how it decides when to fall back though.
The DNS servers adguard uses aren't the most important part here though.
The problem was that your clients only have the adguard ip because fritzbox can only give out one so you will have no redundancy.
Keepalived is a separate service. You install this on your pi for example. For HAOS I have no clue how you would do that.
Maybe with this: https://github.com/rsnodgrass/hassio-addons/tree/master/keepalived
For now I'd focus on just getting it working.
Yeah right
It works now I guess