banner



How to block ads on your home network with AdGuard Home on a Raspberry Pi

Raspberry Pi Source: Windows Central

Pi-pigsty is a popular piece of software that'south mostly associated with Raspberry Pi (hence the name) that helps y'all to block ads and trackers and whatnot across all of the devices on your domicile network at the same time. It'due south great, really, and its popularity is well deserved. I love Pi-hole. But it isn't the just software out there that can do this.

An culling is called AdGuard Home. You might be familiar with AdGuard already, there are mobile apps and browser extensions, fifty-fifty a Windows app, merely this is a niggling more than that. AdGuard Home operates very much like Pi-hole, covering your whole network from one device, usually a Raspberry Pi.

Information technology's easy to install and configure and why, personally, I like it more than than Pi-hole is that it feels a little more than beginner-friendly. It'due south also free and open-source, merely like Pi-hole, so you can have a look through the lawmaking and meet what's going on if yous wish. You can install it direct onto Windows ten or 11, but it does also run natively on Linux, including the Raspberry Pi, macOS, and in a Docker container, and then y'all certainly have options.

For this guide, I'll be focusing on using a Raspberry Pi, as it's the 1 that makes the nigh likely application. Information technology's small and low-powered and in the spirit of Pi-hole. And having a Raspberry Pi-powered on 24/7 is a lot more efficient than leaving a full Windows machine powered up.

What you lot demand

Earlier you begin you'll need to assemble some bits. For this guide we'll be needing:

  • A Raspberry Pi or Raspberry Pi Zip
  • A microSD carte (8GB or larger)
  • A micro-USB or USB-C power supply (depending on your Raspberry Pi)
  • Access to some other figurer

Now, to piece of work.

How to fix a Raspberry Pi and set a static IP accost

Raspberry Pi Source: Windows Fundamental

Before getting AdGuard Domicile installed, you lot have to ready the Raspberry Pi with an operating system, admission to your dwelling network, SSH, and a static IP accost. None of this is also complex nor takes too long. To help you out, we've got dedicated guides linked below that volition take y'all through each step.

There are dissimilar operating systems available, merely it doesn't really affair beyond being a base to run AdGuard Habitation from. So the easiest thing to practice is head over to the Raspberry Pi website and download the Raspberry Pi Bone calorie-free version. This is perfect for a setup similar this equally it's much lighter weight thank you to having no GUI. This is why yous'll need to follow these guides, get SSH and local network enabled, and set a static IP accost on your Raspberry Pi. Without a static IP, you'll have a much harder time using AdGuard Home.

  • How to set up a headless Raspberry Pi, Wi-Fi, and SSH
  • How to prepare a static IP address on a Raspberry Pi

How to install AdGuard Home on a Raspberry Pi

Raspberry Pi Source: Windows Central

Once your Raspberry Pi is prepare, you've got SSH enabled, and information technology's connected to your home network, it'south time to get going. Open upward your favorite concluding or SSH application and connect to your Raspberry Pi.

If this is the offset fourth dimension yous're connecting, y'all'll want to connect using ssh pi@yourIPaddress and the stock password is raspberry. You'll want to change that but nosotros'll skip past that for this guide. The next good idea is to run sudo apt update && sudo apt upgrade to ensure you have all the latest packages on your Raspberry Pi.

With that out of the fashion, we're ready to install AdGuard Home. As information technology's open-source, the whole project is hosted on GitHub, and that's where we tin go to have a look at the code and find all the documentation we'll need. To install Adguard Home, all you lot need is this one command.

            ringlet -southward -S -Fifty https://raw.githubusercontent.com/AdGuardTeam/AdGuardHome/master/scripts/install.sh | sh -south -- -v                      

A give-and-take of warning: Y'all shouldn't always just run whatever old script on your system. In this instance, we're running it from a trusted source and the script, install.sh is hosted on the GitHub repository for y'all to accept a look at. Simply a general dominion of good practice is to ensure you either know exactly what you're installing or that the source is trusted.

The command above will basically download the install script from the AdGuard Home GitHub repo and run information technology. The script contains all the necessary information to download and install the unabridged AdGuard Home parcel, and then all you need to do is sit down back and let it end.

If for any reason you want to uninstall or reinstall AdGuard Home, utilise the same command in a higher place merely attach the -u or -r flag to the control.

How to set AdGuard Home

Adguard Home Source: Windows Central

Once it'southward installed you lot're washed in the command line and information technology's time to fire upward a web browser. You'll need to navigate to the IP address you set for your Raspberry Pi on port 3000 to access the AdGuard Dwelling house GUI. So, something like http://192.168.86.200:3000.

  1. Hit the big greenish Get started button to begin.

    Adguard Home Source: Windows Cardinal

  2. Past default you'll be shown the IP address and ports AdGuard Domicile volition use. If yous're happy with these, simply click Adjacent, else change them to something you'd prefer first.
  3. Cull a username and password before proceeding.
  4. Note down the IP addresses given to y'all, these are what yous'll use to tell your home network to point at AdGuard Domicile.

    Adguard Home Source: Windows Key

  5. Click Open dashboard to become started configuring.

The stock settings are pretty good to go going with, and at that place'southward a lot of customization y'all tin do to tailor your protection to meet your own needs. AdGuard Home currently has three DNS blocklists to choose from, which gives you options if perhaps ane of them is getting a little likewise aggressive and you wanted to attempt an alternative before creating custom rules.

Y'all can, of grade, create custom rules, and the logs tin exist kept for up to xc days or much less if y'all'd adopt. The stock settings are good enough, simply honestly, information technology's downwards to you to go poking around and set up things up how you desire them.

There'due south not actually a one-size-fits-all solution. Everything is really clear and piece of cake to sympathize and ane of my own favorite features is being able to flat out just block an entire service, like Facebook, with a single click.

How to bespeak your devices at AdGuard Dwelling

Linksys WRT32X Source: Windows Central

Remember those IP addresses you were given during the setup? This is where both of those come into play. Exactly how you do this will vary wildly, considering different routers practise things in different ways, but essentially you'll take those IP addresses and y'all'll enter those into the DNS settings on your router. That is, if you desire consummate network coverage.

You lot can do the same on a device-by-device basis, likewise, and over again, it'll differ across Windows, Mac, Linux, and mobile. Wherever yous take a DNS setting for your network connection, though, that'due south where you enter these.

It's a good idea to reboot your device, too, to ensure it's properly taken effect. Only at present, you should be seeing fewer ads, you'll be getting fewer trackers, and you shouldn't be noticing whatsoever real dip in your connexion speeds. Even though the Raspberry Pi is small and low-powered, it'due south plenty capable of handling everything y'all throw at it in a abode environment.

Alternatives to Raspberry Pi

Mac Mini Source: Windows Central

The Raspberry Pi is the most obvious device to employ, just information technology's not the merely 1. As mentioned previously, AdGuard Domicile can exist natively installed on macOS too equally Linux, and there's an official Docker image for information technology, too. You can use Docker on Windows and the Windows Subsystem for Linux, so if y'all only have a Windows machine, in that location's all the same a way to employ Adguard Home.

The GitHub repository is a corking place to commencement as it has all the documentation and links yous need if you're considering alternative hardware. Only a cheap Raspberry Pi Zero and nearly one-half an hour of your time is definitely one of the improve ones.

Tiny computer

Raspberry Pi Zero

Raspberry Pi Goose egg W

Teeny even so capable reckoner

The Raspberry Pi Nix W is still a fantastic and incredibly affordable way to dip your toe into the ecosystem or Linux in full general.

Source: https://www.windowscentral.com/how-install-adguard-home-raspberry-pi

Posted by: martinezhileace.blogspot.com

0 Response to "How to block ads on your home network with AdGuard Home on a Raspberry Pi"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel