树莓派 | AdGuardHome广告拦截 | DNS服务器
先放规则
大部分拦截软件或者浏览器插件都适用。
第三方规则
- MalwareDomainList.com Hosts List
https://www.malwaredomainlist.com/hostslist/hosts.txt- 乘风(推荐)
https://raw.githubusercontent.com/xinggsf/Adblock-Plus-Rule/master/ABP-FX.txt- EasyList China+EasyList(推荐)
https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt- N2OList China
https://n2o.io/p/adblock/dist/n2olist.cn.txt- yhosts-hosts
https://raw.githubusercontent.com/vokins/yhosts/master/hosts- yHosts
https://raw.githubusercontent.com/vokins/yhosts/master/hosts.txt- StevenBlack (推荐)
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts- !neoHosts_full
https://hosts.nfz.moe/127.0.0.1/full/hosts- !neoHosts_basic
https://hosts.nfz.moe/127.0.0.1/basic/hosts
新增
- Easy Privacy(隐私保护)
https://easylist.to/easylist/easyprivacy.txt- CJX's Annoyance List(由知名维护者CJX的长期更新的 EasyList Lite 订阅地址)
https://raw.githubusercontent.com/cjx82630/cjxlist/master/cjx-annoyance.txt
再讲教程
其实AdGuardHome在GitHub的readme->Wiki->How to install and run 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
原版为
sudo ./AdGuardHome -s install
改为以下(注意大小写)
cd ./AdGuardHome
./AdGuardHome
完成