In this tutorial, we are going to show you “how to install AdGuard on Raspberry Pi for all models”
AdGuard Official Website Visit Here
Software Required :
|Raspberry Pi 4||Case|
|SD Card||External HDD|
|Raspberry Pi Keyboard|
Raspberry Pi 4 Kit’s
Raspberry Pi OS Installation :
- Download Raspberry Pi OS Image from the above Link
- Format the SD Card using SD Card Formatter
- Then write the image to the SD Card using: Etcher
- Once the setup completes we need to update, upgrade and full-upgrade our raspberry pi using the terminal.
sudo apt update sudo apt upgrade sudo apt full-upgrade
- After the update and upgrade complete we can download the AdGaurd from the below command.
- Now, we can extract the AdGuard setup using the below command.
tar xvf AdGuardHome_linux_arm.tar.gz
- As the file is already downloaded and extracted then we can delete the old file using the below-mentioned command.
- Now we can move to the extracted folder.
- We can go ahead and install the AdGuard Home on our Pi.
sudo ./AdGuardHome -s install
- To know the IP address of your Pi you can use the command.
- Once the setup complete we can access our AdGuard server from the below command.
http://[YOUR IP ADDRESS]:3000
- Let’s start the setup of our AdGuard server now. We need to click on Get Started to start the setup.
- You can leave the settings as it is and move forward with the setup.
- In this step, you need to create your own user name and password for login into the server.
- After the login ID created you can set up your device as mentioned below. But we recommend you configure it on the router so it can block ads throughout your network.
- Now you are all set to use the network-wide adblocker in your network click on open Dashboard to finish the setup.
- You can use your ID and password to login into the server that was created earlier in the setup.
Updating AdGuard IP Address to Router DNS
- At this moment we need to log in to our Router, then Navigate to DNS Settings.
- After that, we need to enter the AdGuard IP Address to our Router Primary DNS Address.
- Finally, all the traffic will route through the Raspberry Pi and Block ads with AdGuard.
Primary DNS Address: "AdGuard IP Address" Secondary DNS Address: "Cloudflare DNS Address i.e 126.96.36.199" or "Google DNS Address i.e 188.8.131.52"
- Above all steps will convert your Raspberry Pi into a Network Wide Ad-Block Server.
- If you face any issue regarding this article please share your thoughts.
- Smile (.”_”.)
Please check out my other articles:
- Pi-Hole on OpenMediaVault with Docker and Portainer by Easy Way
- Pi-Hole on Raspberry Pi all models using Docker
Did you find us helpful?
|Subscribe to our YouTube Channel|
|Support us on Patreon|
|Like us on Facebook|
|Share This Article with others|