开始安装AdGuardHome
1、安装依赖环境 wget,
yum -y install wget

2、下载官方AdGuardHome
wget https://github.com/AdguardTeam/AdGuardHome/releases/download/v0.102.0/AdGuardHome_linux_amd64.tar.gz
3、解压AdGuardHome
tar xvf AdGuardHome_linux_amd64.tar.gz
4、进入AdGuardHome目录
cd AdGuardHome
5、安装AdGuardHome
./AdGuardHome -s install
1.png

开始设置AdGuardHome
按照安装完成的提示,http://你的IP:3000,访问AdGuardHome的设置网页。

2.png

设置用户名及其他,不会的请看视频教程,登录AdGuardHome。
3.png

设置完上游DNS,完工了

上游dns的意思是adguardhome查询你要用的网址时用的dns服务器

Bootstrap DNS 服务器 是adguardhome 查询dns服务器ip时用的dns服务器

上游服务器应该设置成响应最快的多个dns地址,下面为推荐的DNS地址。

https://dns.adguard.com/dns-query
https://dns.cloudflare.com/dns-query
tls://dns.google
tcp://8.8.8.8
tcp://8.8.4.4
176.103.130.130
114.114.114.114
119.29.29.29
附录AdGuardHome规则
过滤器
AdGuard Home 可以解析基础的 adblock 规则和 Hosts 语法。

系统自带过滤器
AdGuard Simplified Domain Names filter

https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt

AdAway

https://adaway.org/hosts.txt

hpHosts – Ad and Tracking servers only

https://hosts-file.net/ad_servers.txt

MalwareDomainList.com Hosts List

https://www.malwaredomainlist.com/hostslist/hosts.txt

自定义过滤器
neoHosts Full 127.0.0.1 兼容性更好

https://hosts.nfz.moe/127.0.0.1/full/hosts

Easylist 官方规则

https://easylist.to/easylist/easylist.txt

EasyList China 中文补充规则

https://easylist-downloads.adblockplus.org/easylistchina.txt

EasyList Lite 中文精简规则

https://raw.githubusercontent.com/cjx82630/cjxlist/master/cjxlist.txt

EasyPrivacy 隐私保护

https://easylist-downloads.adblockplus.org/easyprivacy.txt

CJX’s Annoyance List 去自我推广列表

https://raw.githubusercontent.com/cjx82630/cjxlist/master/cjx-annoyance.txt

ChinaList 国内大部分视频网站的广告过滤 (广告净化器)

【凉凉】http://tools.yiclear.com/ChinaList2.0.txt

【备份】https://raw.githubusercontent.com/hopol/ChinaList2.0/master/ChinaList2.0.txt

乘风 广告过滤规则

https://raw.githubusercontent.com/xinggsf/Adblock-Plus-Rule/master/ABP-FX.txt

【码云更新】https://gitee.com/xinggsf/Adblock-Rule/raw/master/rule.txt

【MV规则】https://gitee.com/xinggsf/Adblock-Rule/raw/master/mv.txt

Fanboy+Easylist-Merged Ultimate List

https://fanboy.co.nz/r/fanboy-ultimate.txt

StevenBlack

http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts

yhosts

https://raw.githubusercontent.com/vokins/yhosts/master/hosts

大圣净化

https://raw.githubusercontent.com/jdlingyu/ad-wars/master/hosts

1024_hosts

https://raw.githubusercontent.com/Goooler/1024_hosts/master/hosts

neoHosts Full

https://hosts.nfz.moe/full/hosts

Google Host

https://raw.githubusercontent.com/googlehosts/hosts/master/hosts-files/hosts

ChinaList+EasyList(修正)

http://sub.adtchrome.com/adt-chinalist-easylist.txt

以下慎用
I don’t care about cookies 屏蔽网站 cookies 相关警告!!!

https://www.i-dont-care-about-cookies.eu/abp/

Last modification:December 29, 2021
If you think my article is useful to you, please feel free to appreciate