AdGuardHome – DNS服务器的安装以及设置

AdGuardHome开源地址:点击访问

PVE下安装

更改LXC仓库源

首先,我们还是需要更改ProxmoxVE的LXC仓库为国内源的下载地址,不然龟速的下载,会让你怀疑人生。

SSH连接PVE,复制下面代码,并一起粘贴并输入回车运行。

grep -rn "download.proxmox.com" /usr/share/perl5/PVE/*
sed -i.bak "s#http://download.proxmox.com/images#https://mirrors.ustc.edu.cn/proxmox/images#g" /usr/share/perl5/PVE/APLInfo.pm
wget -O /var/lib/pve-manager/apl-info/mirrors.ustc.edu.cn https://mirrors.ustc.edu.cn/proxmox/images/aplinfo.dat

开始安装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

Openwrt下安装

1、下载官方AdGuardHome到本地

2、解压出来上传到Openwrt

注意路径为/usr/bin/AdGuardHome

3、所有上传的文件修改权限

4、之前装过的要删除/etc/init.d下的AdGuardHome文件

5、安装AdGuardHome

./AdGuardHome -s install

AdGuardHome上游DNS服务器

119.29.29.29
180.76.76.76
223.5.5.5
123.125.81.6
117.50.11.11
117.50.10.10
114.114.114.114
8.8.8.8
8.8.4.4
9.9.9.9
4.2.2.1
202.130.97.66
168.95.192.1
168.126.63.1
80.80.80.80
tls://8.8.8.8

Bootstrap DNS服务器

这个填拨号时得到的运营商的DNS服务器地址

202.103.225.68
202.103.224.68

附录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/

AdGuardHome 和 OpenClash设置

AdGuardHome重定向设置为无

OpenClash的DNS设置

转自:v2rayssr.com

评论 (3)

  • Charlesred| 2021年12月2日

    These porn videos will be so enticing that any curious wanker will stand in want to inherit to grasp them better. You also should not pass nearby, but running backstay on our resource longer in straighten out to must unceasingly a once to see more of everything. Assume me, this viewing at one’s desire seem so marvellous kalikarma to you that you last will and testament lust after to upon to here again. Into the bargain, we deliver loads of clips on individual topics, even the most depraved topics are covered in full. So, the drone is guaranteed to you.

  • Agustin Sarkodie| 2022年2月9日

    It is very good to be interested in disseminating this type of information among young people and computer users in general. The benefit is not only on a narrow level, but the benefit is very great. I hope that you will continue to pay attention to publishing this information on your site, as it is really useful and a good addition.

  • Deidra Feser| 2022年2月25日

    In fact, it is very good in those days to find topics that add to the mind, and not like other misleading sites in many cases, I hope you will continue and I will share your topic on my personal Facebook page

  • 发表评论