AdGuardHome It is a network-wide ad blocking and anti-tracking software. The AdGuard Home project is a DNS Server version open sourced by the famous ad blocker provider AdGuard. AdGuard Home can block ads and tracking related domains, and you no longer need to install any client software. AdGuard Home works by blocking advertisements on web pages during the DNS domain name resolution process.
Simply put, AdGuard Home is an open source public DNS service that supports ad filtering and parental controls, like Google's public DNS service 126.96.36.199. AdGuard Home also supports DNS over TLS and DNS over HTTPS.
The main function
- Block ads everywhere
- Pay attention to privacy protection
- family protection mode
- Custom filter rules
- a cloud server
First enter the cloud server, and then refer to Official installation documentation , download the corresponding installation version.
To view the version, you can use the command: uname -a, my return is: Linux VM-0-14-debian 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux
So download the 64 bit version
// download wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_amd64.tar.gz # decompress tar -zxvf AdGuardHome_linux_amd64.tar.gz # Go to the AdGuardHome directory cd AdGuardHome # Start AdGuard Home ./AdGuardHome -s install // Visit ip:3000 to configure adguard home
Follow the settings all the way, remember the password and port you set.
This even if the installation configuration is complete.
Click on settings, dns settings
Set up the upstream server, you can set it according to your needs
188.8.131.52 184.108.40.206 220.127.116.11 18.104.22.168 22.214.171.124 126.96.36.199
Click Apply to save the configuration.
Other DNS service settings can be set according to your own needs. Here I set **speed limit** to 0, and turn on EDNS at the same time, and also need to save. Other configurations can be researched by yourself.
Click filter settings, you can add the filters you need by yourself, recommend two
// Ride the wind ad filter rules https://raw.githubusercontent.com/xinggsf/Adblock-Plus-Rule/master/ABP-FX.txt // EasyList China+EasyList https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt // A collection of rules, a collection of easylist and other services https://gitee.com/halflife/list/raw/master/ad.txt
In addition, you can configure https encryption in **Settings - Encryption Settings**, and solve it yourself as needed.
In addition, you can add boot start.
systemctl enable AdGuardHome
Finally, post a few adguard home management commands
# Start the AdGuardHome service ./AdGuardHome -s start # Stop the AdGuardHome service ./AdGuardHome -s stop # Restart the AdGuardHome service ./AdGuardHome -s restart # View AdGuardHome service status ./AdGuardHome -s status # Uninstall the AdGuardHome service ./AdGuardHome -s uninstall
At the same time, there is also a yaml configuration file in this folder of decompression and installation, and the content can also be modified through the configuration file
It should be noted that it is best not to access through port 53, otherwise there may be a risk of being warned by the operator (private dns is explicitly prohibited), but private use through other ports is generally fine.