Skip to content

Instantly share code, notes, and snippets.

@scott0228
Last active Nov 15, 2020
Embed
What would you like to do?
AdGuard Home
bind_host: 0.0.0.0
bind_port: 80
users:
- name:
password:
language: ""
rlimit_nofile: 0
web_session_ttl: 720
dns:
bind_host: 0.0.0.0
port: 53
statistics_interval: 1
querylog_enabled: true
querylog_interval: 90
querylog_memsize: 0
protection_enabled: true
blocking_mode: default
blocking_ipv4: ""
blocking_ipv6: ""
blocked_response_ttl: 10
ratelimit: 60
ratelimit_whitelist: []
refuse_any: true
bootstrap_dns:
- 9.9.9.10
- 149.112.112.10
- 2620:fe::10
- 2620:fe::fe:10
all_servers: true
edns_client_subnet: false
aaaa_disabled: false
allowed_clients: []
disallowed_clients:
- 47.89.192.12
- 74.82.47.2
- 198.108.66.223
- 74.82.47.50
- 162.243.130.38
- 94.102.51.22
- 139.162.117.40
- 141.212.123.189
- 185.244.39.90
- 192.145.127.42
- 15.236.60.157
- 45.148.10.91
- 52.73.169.169
- 129.250.206.86
- 146.88.240.4
- 192.241.237.108
- 80.82.77.139
blocked_hosts: []
parental_block_host: family-block.dns.adguard.com
safebrowsing_block_host: standard-block.dns.adguard.com
cache_size: 4194304
upstream_dns:
- https://1.1.1.1/dns-query
- https://1.0.0.1/dns-query
- tls://101.101.101.101
- '[/esunbank.com.tw/]tls://101.101.101.101'
- '[/bankofamerica.com.tw/]tls://101.101.101.101'
- https://dns10.quad9.net/dns-query
- 168.95.1.1
- 168.95.192.1
- 9.9.9.9
- 8.8.8.8
filtering_enabled: true
filters_update_interval: 24
parental_enabled: false
safesearch_enabled: true
safebrowsing_enabled: false
safebrowsing_cache_size: 1048576
safesearch_cache_size: 1048576
parental_cache_size: 1048576
cache_time: 30
rewrites: []
blocked_services: []
tls:
enabled: false
server_name: ""
force_https: false
port_https: 443
port_dns_over_tls: 853
allow_unencrypted_doh: false
strict_sni_check: false
certificate_chain: ""
private_key: ""
certificate_path: ""
private_key_path: ""
filters:
- enabled: true
url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt
name: AdGuard Simplified Domain Names filter
id: 1
- enabled: true
url: https://adaway.org/hosts.txt
name: AdAway
id: 2
- enabled: true
url: https://hosts-file.net/ad_servers.txt
name: hpHosts - Ad and Tracking servers only
id: 3
- enabled: true
url: https://www.malwaredomainlist.com/hostslist/hosts.txt
name: MalwareDomainList.com Hosts List
id: 4
- enabled: true
url: https://cdn.jsdelivr.net/gh/neoFelhz/neohosts@gh-pages/basic/hosts.txt
name: Neo Basic Hosts
id: 1584876443
- enabled: true
url: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
name: StevenBlack
id: 1584876444
- enabled: true
url: https://raw.githubusercontent.com/CHEF-KOCH/NSABlocklist/master/HOSTS/HOSTS
name: NSABlocklist
id: 1584876445
- enabled: true
url: https://zerodot1.gitlab.io/CoinBlockerLists/hosts
name: CoinBlockerLists
id: 1584876446
- enabled: true
url: https://gitlab.com/CHEF-KOCH/cks-filterlist/raw/master/hosts/Ads-tracker.txt
name: CHEF-KOCH
id: 1584876447
- enabled: true
url: https://easylist-downloads.adblockplus.org/easylistchina.txt
name: EasyList China
id: 1584876448
- enabled: true
url: https://easylist-downloads.adblockplus.org/easyprivacy.txt
name: EasyPrivacy
id: 1584876449
- enabled: true
url: https://raw.githubusercontent.com/cjx82630/cjxlist/master/cjx-annoyance.txt
name: CJX's Annoyance List
id: 1584876450
- enabled: true
url: https://www.i-dont-care-about-cookies.eu/abp/
name: I don't care about cookies
id: 1584876451
whitelist_filters: []
user_rules: []
dhcp:
enabled: false
interface_name: ""
gateway_ip: ""
subnet_mask: ""
range_start: ""
range_end: ""
lease_duration: 86400
icmp_timeout_msec: 1000
clients: []
log_file: ""
verbose: false
schema_version: 6
#below it is whitelist
@@||1hosts.cf^
@@||adaway.org^
@@||b-api.facebook.com^
@@||cdn.taboola.com^
@@||click.simba.taobao.com^
@@||count.taobao.com^
@@||dailyupdate.wangwang.taobao.com^
@@||ebc.net.tw^
@@||filters.adtidy.org^
@@||graph.facebook.com^
@@||h-adashx.ut.taobao.com^
@@||hosts-file.net^
@@||i.click.taobao.com^
@@||ju.taobao.com^
@@||m.taobao.com^
@@||mirror1.malwaredomains.com^
@@||mmstat.com^
@@||mos.m.taobao.com^
@@||mqtt-mini.facebook.com^
@@||mtop.subaru.pc.mini.detail^
@@||news.ebc.net.tw^
@@||passport.baidu.com^
@@||pgl.yoyo.org^
@@||raw.githubusercontent.com^
@@||s.click.taobao.com^
@@||s3.amazonaws.com^
@@||sysctl.org^
@@||tui.taobao.com^
@@||winhelp2002.mvps.org^
@@||world.taobao.com^
@@||zeustracker.abuse.ch^
@@||api.io.mi.com^
@@||data.mistat.xiaomi.com^
#
# below it is blacklist
||adclick.g.doublecklick.net^
||ads.ad2iction.com^
||ads.flurry.com^
||ads.pubmatic.com^
||aotter.net^
||apnsgcm.superweather.tw^
||apnsgcmt.superweather.tw^
||atsv2-fp.wg1.b.yahoo.com^
||b.scorecardresearch.com^
||bounceexchange.com^
||bs.serving-sys.com^
||content.bitsontherun.com^
||core.insightexpressai.com^
||d2gi7ultltnc2u.cloudfront.net^
||d3rt1990lpmkn.cloudfront.net^
||doubleclick.net^
||ds.serving-sys.com^
||gads.pubmatic.com^
||googleads.g.doubleclick.net^
||gtssl2-ocsp.geotrust.com^
||image.superweather.tw^
||js.moatads.com^
||media-match.com^
||moptt.azurewebsites.net^
||moptt.blob.core.windows.net^
||omaze.com^
||pagead2.googlesyndication.com^
||pagead46.l.doubleclick.net^
||partner.googleadservices.com^
||pubads.g.doubleclick.net^
||redirector.gvt1.com^
||s0.2mdn.net^
||securepubads.g.doubleclick.net^
||tkmftc.aotter.net^
||tpc.googlesyndication.com^
||v.jwpcdn.com^
||video-ad-stats.googlesyndication.com^
||www.googleadservices.com^
||www.googletagservices.com^
||www.omaze.com^
sudo iptables -I INPUT -p tcp -m tcp --dport 3000 -j ACCEPT
sudo iptables -I INPUT -p tcp -m tcp --dport 80 -j ACCEPT
sudo iptables -I INPUT -p tcp -m tcp --dport 53 -j ACCEPT
sudo iptables -I INPUT -p tcp -m udp --dport 53 -j ACCEPT
wget https://static.adguard.com/adguardhome/release/AdGuardHome_linux_amd64.tar.gz
tar zxvf AdGuardHome_linux_amd64.tar.gz
cd AdGuardHome
sudo ./AdGuardHome -s install
sudo ./AdGuardHome -s start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment