Block ADS in your local network and over VPN using AdGuard.

Тәжірибелік нұсқаулар және стиль

Detailed look at AdGuard and using it for filtering and DNS rewrites. I use the Home Assistant add-on for this, but it can be done standalone as well.
HA Community Repo: addons.community
Join this channel and show your support:
/ @mostlychris
Discord: / discord
If you would like to support me:
Buy me a beverage: ko-fi.com/mostlychris
Become a patron: / mostlychris
Products I reference in my videos (Contains affiliate links)
www.mostlychris.com/my-smart-...
www.xsplit.com?ref=chriswest&discount=mostlychri&pp=stripe_affiliate
DISCLAIMER: Some of the links above take you to affiliate sites that may or may not pay a small commission to me. It doesn't increase the cost to you, but it does help support me in making these videos.
Snail Mail to Send Stuff:
Mostlychris
24165 IH-10 West
STE 217 #164
San Antonio, TX 78257
00:00 Intro
00:17 What is AdGuard?
01:21 Install AdGuard Add-On
02:37 AdGuard Dashboard
03:42 General Settings
05:38 DNS Settings
10:14 Client Settings
11:21 DHCP Settings
11:56 DNS Blocklists
13:46 DNS Allow, Rewrite, and Block lists
15:50 Query Log
17:28 Setup Guide
18:12 My Unifi Router Config
20:31 VPN DNS and DNS Privacy
22:02 Final Thoughts and WRAP

Пікірлер: 81

  • @cheemsburbger7664
    @cheemsburbger76645 ай бұрын

    Thank you for actually explaining what each setting does, it helps a lot for a newbie like me 😊

  • @kimgnavpot
    @kimgnavpot2 жыл бұрын

    Installed and running, thanks

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    Great!

  • @ChadHowsden
    @ChadHowsden2 жыл бұрын

    Chris, great video! I noticed in a few of your videos that your internal IP addresses are not "typical". Is there a video or discord where you discuss your reasoning on how you came up with your networking IP addresses? I have recently purchased a UDM Pro and Switch and some APs and have yet to set it up, but I wanted to do things right from the start and not have to go back and modify stuff. Is it simply because they are not common and it provides a little extra protection?

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    Those IPs are just part of the non-routable IP space. Since they are not routable, they can only be reached inside the local network. en.wikipedia.org/wiki/Private_network I don't have a specific video on it though.

  • @nickchandler1389
    @nickchandler138911 ай бұрын

    HI Chris, thanks for the vid! Just wondering if you include Adguard in your backup schedule? My Adguard backup is currently at 1.5GB and it is creating problems on Google Drive.

  • @paulv9286
    @paulv92862 жыл бұрын

    great video Chris thanks, i have made a couple changes to mine

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    Thanks! What changes?

  • @paulv9286

    @paulv9286

    2 жыл бұрын

    @@mostlychris i added the browser security web service and added the upstream servers you are using.

  • @stevephipps9305
    @stevephipps93052 жыл бұрын

    Nice. Are the default settings sufficient for average use or are there a bunch of setting to make? Looking for sort of plug and play. Thanks

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    Default settings will work to get you up and running. Just make sure your upstream servers are set and working.

  • @antoniodecrisci2369
    @antoniodecrisci23692 жыл бұрын

    Thanks for this great video again. I noticed in some of your other videos your adguard is blocking like 30% of the DNS queries. I have mine set up as a whole house protection where I put the first DNS server as the adguard server on my router. It's been a few weeks now and I'm only getting about 2% blocked. I added extra lists, totalling about 200,000. Is 2% reasonable?

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    That depends on what you are doing on your network. My Roku devices make about a zillion calls per day to their analytics site and those are all blocked. I'm guessing that 28% of those 30% are Roku. I recently added one of those domains to the Disallowed Domains section which blocks it entirely and removes it from logging, etc. This may drastically reduce the total percentage blocked if it also removes that domain from stats. As of right now, I am at 21% blocked.

  • @Jebope
    @Jebope2 жыл бұрын

    Hi Chris. Great video You are showing that you use youre Unifi router IP as private reverse DNS server. Is the router on the same lan as youre Home assistant? I have mine on a different vlan and it doesn't seem to update the hostnames. (I have an Egderouter 4, and DHCP dns is pointing to my Adguard IP, so the filtering is working.)

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    Hey Jesper. To be honest, I hadn't used that feature until I saw it while making the video. Itr may have snuck in one of the updates. My router is on the same subnet. Not everything is resolving though. I have 4 devices showing as being resolved by rDNS and the rest by ARP. I don't think the revers DNS lookup is working that well. It's mostly ARP that is doing the work.

  • @KavanMavati
    @KavanMavati Жыл бұрын

    Does it support conditional forwarding to another internal DNS Server?

  • @fredrikpalsson3169
    @fredrikpalsson31692 жыл бұрын

    Hi. Great video as always! I am running the Add on for a couple of hours now on my HA and it seems to work good across all my connected devices. However, there is also an integration called Adguard and with this you ars suppose to be able to control and get sensors from the addon but when I try to install the integration I get a window where it asks for "Host", "Port", "Username" and "Password"... I just can't figure out what to put in it to get it to work!! Please can you check this integration? BR // Fredrik

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    Mine was added automatically (it discovered it). On my pi where I run the second instance, I tried adding the integration and I am running into the same issue. I'll keep researching and working to figure it out.

  • @DJDANYOFFICIAL
    @DJDANYOFFICIAL Жыл бұрын

    in tplink archer ax73 work ?

  • @BELSERVICEMAN
    @BELSERVICEMAN Жыл бұрын

    I take it you pay for the AdGuard Home service, what level do you buy for example and you are running two instances is that covered with AdGuard Home?

  • @fragsap
    @fragsap2 жыл бұрын

    Does this work for video adds as well? (KZread, Twitch, ETC…)

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    It won't work with embeded ads like those. I don't know of anything that will work on those. I thought about mentioning this point before and after I filmed/edited the video. Wish I'd written it down so I could answer what will probably be a common question.

  • @TheBigBengt
    @TheBigBengt2 жыл бұрын

    Thanks for the video chris. Installed it and got it up and running. But instead of you having different clients showing I just have one and that is my routers ip. So i figure I lack some settings, would be greatful if you could point me in the right direction.

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    You need to make sure that whatever is providing DNS for your internal clients is set to use AdGuard for its DNS server. You'll have to set the DHCP settings on your router (most likely) to issue the AdGuard server's IP address for DNS.

  • @TheBigBengt

    @TheBigBengt

    2 жыл бұрын

    @@mostlychris thanks for the reply. From what i found my router does not allow me to config this. But im soon switching to unifi so then I will get it working, for now I just add the adguard dns server manually to the clients i need to list.

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    That's a sad router :) Unifi is awesome. I have used it for years without issues. It *just* works.

  • @rrpedrigal
    @rrpedrigal Жыл бұрын

    I installed it and it's up and running but I notice that the google ads are not blocking. When I have adblocker extension it is really block. Then I tried this AdGuard on my server and it's not totally blocking. Is there a way to make it block like the typical adblocker extension? Are there any specific DNS filter that I need to use?

  • @osamamuhammad6694

    @osamamuhammad6694

    Жыл бұрын

    Go and check which ads are extension blocking, than add the same to adguard home

  • @andresn7796
    @andresn7796 Жыл бұрын

    Within Adguard, how or if there is, to be able to configure parental control? before if I could see this section in Adguard now no, I would like a little help thanks

  • @mostlychris

    @mostlychris

    Жыл бұрын

    There is different filtering you can apply using lists. There is a parental control web service under Settings->General.

  • @cnn0888
    @cnn0888 Жыл бұрын

    Hi. Thanks for the video. I have it all set up similarly to yours up to the unify bit coz I don't have unify (I have TP-Link router). I am able to connect to tailscale using 4G to my homeassistant but seems that it is not using the AdGuard to filter the ads. I tried to set the Global Name Server and turn on the override local DNS, then I could not even browse. Is there any specific step that I missed? Thanks

  • @mostlychris

    @mostlychris

    Жыл бұрын

    Make sure you are using the nameserver of your AdGuard instance in the Global Nameservers section. Needs to be an IP on your local network. It's possible that you also need to set up Subnets and Exit Node for one of the hosts on your network that is running Tailscale.

  • @HopeArk
    @HopeArk Жыл бұрын

    does this work for blocking ads on streaming device like rhoku/ apple tv when using youtube app?

  • @mostlychris

    @mostlychris

    Жыл бұрын

    It doesn't as far as I'm aware.

  • @virtusas
    @virtusas2 жыл бұрын

    Hey. Very nice and detailed video. I have also this set up on my Home Assistant for a good while. Can someone advise me if it's possible to get parental settings for internal network devices using this? I believe there is option for that on their interface as long as its not setup as add on in Home assistant. We have few smallies that get up early in the morning and like to watch TV. I know I can block individual services as per device or global. But that is a bit inconvenient to be changing on daily basis. Can some one suggest any workaround? (And yes, I know it's easy to take away remote from kids :) but that's not why I built Home Assistant in the house :) Thank you.

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    I'm not sure that you can do what you are asking with this setup. You could set up a filtered AdGuard server and have those devices use that only but that is also inconvenient. There is a parental filter in the settings though. Not sure if that is what you are asking about though.

  • @nigelholland24
    @nigelholland242 жыл бұрын

    Installed this today on my parents pc.

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    Are you running it as a plug in or for the whole network?

  • @nigelholland24

    @nigelholland24

    2 жыл бұрын

    @@mostlychris running it as a plug in on parents but my router has it built in so I am using that. I was running pihole as a docker In unraid.

  • @BoilingDietCoke
    @BoilingDietCoke Жыл бұрын

    Is it open source? Great video about Adguard though!

  • @mostlychris

    @mostlychris

    Жыл бұрын

    Thanks.

  • @Martin-ot7xj
    @Martin-ot7xj2 жыл бұрын

    Hi there , please make a tutorial video about how we can install & configure both pi-hole & AdGuard home at the same time on ubuntu or raspberry pi ? thnx

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    Is there a reason you would want to run both at the same time?

  • @Martin-ot7xj

    @Martin-ot7xj

    2 жыл бұрын

    @@mostlychris just i want to know is it possible to have both at the same time ?? Or not ?

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    @@Martin-ot7xj You can't run them on the same interface/IP because they would be fighting for the ports. You could run them together on the same device if they used different interfaces OR different ports. If you used different ports, you'd have to tell your client devices to use something other than default DNS ports and that would be hard to maintain.

  • @Martin-ot7xj

    @Martin-ot7xj

    2 жыл бұрын

    @@mostlychris thankyou , i don't want to run at the same time, just i want to install & configure both on ubuntu . thnx

  • @capbrantz4935
    @capbrantz4935 Жыл бұрын

    When installing in HA it asks for host, port, username en pass, can you help me?Thanks.

  • @mostlychris

    @mostlychris

    Жыл бұрын

    Can you send me a screenshot in discord?

  • @DonParlor
    @DonParlor Жыл бұрын

    Hello Chris, I can't find a way to add custom DNS server in Google Home app for my Nest Wifi router. It asks for a valid IPv6 address buy I can't find this anywhere.... Any idea?

  • @mostlychris

    @mostlychris

    Жыл бұрын

    Unfortunately I have no experience with these. It also should be IPv4 not IPv6 unless you are specifically using IPv6 in your network.

  • @DonParlor

    @DonParlor

    Жыл бұрын

    @@mostlychris I deactivated IPv6 in the Google Home network configuration and then I could set my Home Assistant IP address into the IPv4 field without Google App forcing me to enter an IPv6 address. Stats are coming in now. I'm impatient to get further analysis over what is blocked with AdGuard Home!

  • @mostlychris

    @mostlychris

    Жыл бұрын

    @@DonParlor Glad you got it working now! You might see some surprises on what is being blocked. LOTS of tracking stuff from my smart speakers and media players show up in my blocked stats.

  • @DonParlor

    @DonParlor

    Жыл бұрын

    @@mostlychris My next questions will certainly be how to interpret what is being blocked and what DNS Block list to use and which one I should add. I installed the ones your recommended: AdGuard DNS filter, Online Malicious URL Blocklist, The Big List of Hacked Malware Web Sites. Anything else that deserve mention?

  • @mostlychris

    @mostlychris

    Жыл бұрын

    @@DonParlor That's all I've used. It really is personal preference. I've also individually whitelisted a few that were in the block lists because I wanted them to resolve to the source.

  • @wilismatrix9847
    @wilismatrix9847 Жыл бұрын

    what is this home assistant, is it on linux or windows ??

  • @mostlychris

    @mostlychris

    Жыл бұрын

    www.home-assistant.io. You can install it on a number of platforms. The website has info on that.

  • @BoilingDietCoke
    @BoilingDietCoke Жыл бұрын

    Btw, a manual is better than automatic in everything but a transmission in an automobile. I can potentially do anything you can do in your home. Enjoy your home. If you have cameras connected to the internet, in anyway (like attached to a device with internet access) someone is watching or has seen the video. Enjoy your future. Stop using things you do not understand. Stop being naive humans. I am a Watcher. 😶

  • @AmmarMazhar72
    @AmmarMazhar72 Жыл бұрын

    How long will it take to sync DNS servers with our network/router?

  • @zachmoir

    @zachmoir

    Жыл бұрын

    I have the same question, did you end up figuring this out?

  • @AmmarMazhar72

    @AmmarMazhar72

    Жыл бұрын

    @@zachmoir yes I did, if you do everything correctly it will take 1-3 minutes.

  • @AmmarMazhar72

    @AmmarMazhar72

    Жыл бұрын

    @@zachmoir check whether your router has dns server settings enabled and configured correctly like the ip address(web address) of adguard home to your dns server address in your router.

  • @zachmoir

    @zachmoir

    Жыл бұрын

    @@AmmarMazhar72 That's where I think I messed it up. I have a netgear router. I'll research and experiment some more, thanks!

  • @zachmoir

    @zachmoir

    Жыл бұрын

    @@AmmarMazhar72 I figured it out I believe, I only had 1 DNS server IP address though so I used the same one for both slots. Is that the right way to do it?

  • @BeeBombard
    @BeeBombard2 жыл бұрын

    Can you make a video for Android devices

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    Android devices doing.....?

  • @chrisrosenkreuz23
    @chrisrosenkreuz232 жыл бұрын

    I don't get it, it says it's working, shows clients connected but theres no blocking going on, what gives? It shows 0 blocked queries all around. I use HA through duckdns, does this matter? Do I need to do port forwarding or something? And if so, to which ip/port

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    Do you have your DHCP server set to point all DNS to the AdGuard IP address? If not, it won't do anything. Your devices on your network will use whatever DNS server(s) are given to them by the DHCP server. If you have static IPs assigned to devices, you will have to set static DNS server(s) for them as well.

  • @chrisrosenkreuz23

    @chrisrosenkreuz23

    2 жыл бұрын

    @@mostlychris so I have to point my router default dns to the dns addresses from AdGuard initial config or similar ad-blocking dns server. Problem is, my router won't let me do that, dns is grayed-out. I guess one other option would be to let AdGuard be the dhcp server. Thank you for your reply.

  • @mostlychris

    @mostlychris

    2 жыл бұрын

    @@chrisrosenkreuz23 Yes, you do have to point to AdGuard or it'll just sit there and do nothing. Also, about your router settings--that sucks. What router is it?

  • @alialtun1508
    @alialtun150813 күн бұрын

    Adgauard

  • @koolkiwikat
    @koolkiwikat11 ай бұрын

    your video taught nothing around principles and what and why from the perspective of a first timer learning what to do

Келесі