AdGuard Home on Rasbperry Pi

AdGuard Home on Raspberry Pi

Go to AdGuard Home page and download binaries for Raspberry Pi.
Let's download AdGuard Home and unpack it:
cd $HOME
wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_arm.tar.gz
tar xvf AdGuardHome_linux_arm.tar.gz
It will unpack into a new directory called AdGuardHome.
All you have to do is simply type this command to the Terminal:
sudo ./AdGuardHome -s install
Here are the other commands you might need to control the service.
  • AdGuardHome -s uninstall - uninstalls the AdGuard Home service.
  • AdGuardHome -s start - starts the service.
  • AdGuardHome -s stop - stops the service.
  • AdGuardHome -s restart - restarts the service.
  • AdGuardHome -s status - shows the current service status.

Visit the web interface

Once it's up and running, you can access your AdGuard Home web interface on port 3000 by typing this in your browser — http://192.168.10.20:3000/
Don't forget to substitute 192.168.10.20 with IP of your Pi.

Verify DNS filtering

You can verify that it's working properly by running this on your Pi:
host doubleclick.net 127.0.0.1
If everything works correctly, you will get this output:
Using domain server:
Name: 127.0.0.1
Address: 127.0.0.1#53
Aliases:

Host doubleclick.net not found: 3(NXDOMAIN)

Configure your devices to use your AdGuard Home

Now, once we've established that AdGuard Home works on our Raspberry Pi, you can use it on other computers in your network by changing their system DNS settings to use Pi's IP address (which is 192.168.10.20 in our case).

(Optionally) password-protect web interface

You have an option to password-protect your AdGuard Home's web interface so only you can access it.
To do so, stop it first:
sudo ./AdGuardHome -s stop
Then edit the configuration file:
sudo nano /home/pi/AdGuardHome/AdGuardHome.yaml
Find lines containing auth_name: "" and auth_pass: "" and replace them with username and password:
auth_name: "your-secret-name"
auth_pass: "your-secret-password"
Substitute name and password with your own, of course.
After you're done editing, save the file and start your AdGuard Home again:
sudo ./AdGuardHome -s start
After that, visiting web interface in a browser will ask for username and password.

Comments

Popular posts from this blog

Extracting and using a modified VMWare Player BIOS or UEFI firmware

Activate Synology Active Backup for Business for DSM 6

Windows 11 internet/account bypass