en:server:services:adguardhome

AdGuard Home

AdGuard Home is a network-wide software for blocking ads & tracking. After you set it up, it’ll cover ALL your home devices, and you don’t need any client-side software for that. With the rise of Internet-Of-Things and connected devices, it becomes more and more important to be able to control your whole network.

More advanced information in their GitHub repository.

curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -v

Check if it's running:

systemctl status AdGuardHome.service

Go to http://server-ip:3000 and follow the instructions:

Change the port number if you use nginx or something else. Check also ssl. Leave the rest as it is:

Set your admin user:

Configure your router to route all DNS requests to your AdGuard Home Server so that all devices on your network can benefit from the new DNS server:

That's it:

If you're going to use unbound and/or dnscrypt you'll need to change the Upstream DNS servers:

Go to https://firebog.net/ and chose whatever you want to block. Also search for something like Blocklist for AdGuard or PiHole

If you're going to use for example ssl it's an easy task to add all your server domains like nextcloud.home to AdGuard Home instead of your router or /etc/hosts file.

You can also add the domains under:

nano /opt/AdGuardHome/AdGuardHome.yaml
dns:
  rewrites:
    - domain: nextcloud.home
      answer: YOUR-IP
    - domain: searx.home
      answer: YOUR-IP
systemctl restart AdGuardHome.service
curl -s -S -L https://raw.githubusercontent.com/AdguardTeam/AdGuardHome/master/scripts/install.sh | sh -s -- -vu
  • en/server/services/adguardhome.txt
  • Last modified: 2023/02/03 19:18
  • by dan