Millions of AdGuardHomeRules-ADH ad filtering interception rules”
There are probably two ways to use it. One is to build it on a local area network for personal use, and the other is to build it on a public network for personal use or small groups.
Note: the public network must be a domestic chicken. Foreign chicken must cooperate with other operations, because it will be hijacked if it is built abroad.
Here is a tutorial on how to build chicken
先下载AdGuardHome wget https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.104.3/AdGuardHome_linux_amd64.tar.gz 解压 tar -xzvf AdGuardHome_linux_amd64.tar.gz 进入目录 cd AdGuardHome 安装 ./AdGuardHome -s install 启动 ./AdGuardHome -s start 访问小鸡的http://ip:3000端口,ps:访问不了的话检查下防火墙,或者看看端口监听情况(netstat -ntlp) 然后就是简单的选择程序监听端口,默认80,建议改成其他的,我改的3000 还有就是面板的用户名密码,最好也设置一下 程序用到的端口,到目前为止是 53,3000,别忘了开启
Then add the super big rule given by that brother
Click filter-DNS blocking list, and then click add blocking list-add a custom list
It's OK to fill in the name. I filled in AdGuardHomeRules, and then the following url is here, fill in the address given by that brother
However, considering that it was built by a domestic chick, the old brother gave the github address, so I cloned this project to the domestic warehouse of coding.
The following is the link, faster.
https://zxd.coding.net/p/import-ktqr/d/AdGuardHomeRules/git/raw/master/all.txt
Then click save, and the building is completed. The computer can directly change the dns to the ip address of the chick.
With a tutorial
How to use our self-built dns in the private dns that comes with Android, that is, use the self-built dns without root and software
Check before this, open the phone settings, find other networks and connections, or search for private dns directly on it to see if this option is available
If there is, continue. If there is no, there is no need to be busy
Don't be happy too early if you have, there are a few small holes here
Pit 1: for a private dns provider, it is not allowed to fill in the ip address. You must resolve a domain name to the ip address of the chick, and then fill in the domain name.
Pit 2: The self-contained dns of the mobile phone is not a normal dns, but a DNS-over-TLS, that is, an encrypted dns, and it goes through Port 853.
It took me a long time to solve the problem of Pit 2. The solution is given here.
Go to the ip:3000 panel mentioned above, click settings-encryption settings, and click the first to enable encryption. It is better to change the https port to another port, instead of using 443
Otherwise, your chick won't be able to build a website, which is the same as the above without 80. After all, mjj's chick website is the most important, and the others are all tossing
Then, add a certificate. First, resolve a domain name to the ip address, and then create a certificate. Then, fill in the certificate and private key. The following prompt appears.
The certificate chain verification is valid.
The RSA private key is valid.
Then save it and it will be OK. Ports 53,444,853 and 3000 used so far
Remember to allow these ports or shut down the firewall directly.
Renderings