Skip to content

Commit 8fa956f

Browse files
committed
update AdGuardHome
1 parent 5a782e9 commit 8fa956f

File tree

7 files changed

+17
-551
lines changed

7 files changed

+17
-551
lines changed

apply_iptables.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ iptables -t nat -A ADGUARD -m owner --uid-owner root --gid-owner net_admin -j RE
55
iptables -t nat -A ADGUARD -p udp --dport 53 -j REDIRECT --to-ports 5591
66
iptables -t nat -A ADGUARD -p tcp --dport 53 -j REDIRECT --to-ports 5591
77
# 将 ADGUARD 规则添加到 OUTPUT
8-
iptables -t nat -I OUTPUT 1 -j ADGUARD
8+
iptables -t nat -A OUTPUT -j ADGUARD

bin/AdGuardHome

768 KB
Binary file not shown.

bin/AdGuardHome.yaml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,16 @@ dns:
2323
ratelimit_whitelist: []
2424
refuse_any: true
2525
upstream_dns:
26-
- https://1.12.12.12/dns-query
27-
- https://120.53.53.53/dns-query
28-
- https://223.5.5.5/dns-query
29-
- https://223.6.6.6/dns-query
26+
- '#https://1.12.12.12/dns-query'
27+
- '#https://120.53.53.53/dns-query'
28+
- '#https://223.5.5.5/dns-query'
29+
- '#https://223.6.6.6/dns-query'
30+
- 223.5.5.5
3031
upstream_dns_file: ""
3132
bootstrap_dns:
32-
- 9.9.9.10
33-
- 149.112.112.10
34-
- 2620:fe::10
35-
- 2620:fe::fe:10
33+
- 0.0.0.0
3634
fallback_dns:
37-
- https://1.1.1.1/dns-query
35+
- '#https://1.1.1.1/dns-query'
3836
upstream_mode: load_balance
3937
fastest_timeout: 1s
4038
allowed_clients: []
@@ -71,6 +69,7 @@ dns:
7169
serve_http3: false
7270
use_http3_upstreams: false
7371
serve_plain_dns: true
72+
hostsfile_enabled: true
7473
tls:
7574
enabled: false
7675
server_name: ""
@@ -87,20 +86,22 @@ tls:
8786
private_key_path: ""
8887
strict_sni_check: false
8988
querylog:
89+
dir_path: ""
9090
ignored: []
9191
interval: 6h
9292
size_memory: 1000
9393
enabled: true
9494
file_enabled: true
9595
statistics:
96+
dir_path: ""
9697
ignored: []
9798
interval: 24h
9899
enabled: true
99100
filters:
100101
- enabled: true
101-
url: https://gcore.jsdelivr.net/gh/TG-Twilight/AWAvenue-Ads-Rule@main/AWAvenue-Ads-Rule.txt
102+
url: https://raw.githubusercontent.com/TG-Twilight/AWAvenue-Ads-Rule/main/AWAvenue-Ads-Rule.txt
102103
name: 秋风广告规则
103-
id: 1700480708
104+
id: 10086
104105
whitelist_filters: []
105106
user_rules: []
106107
dhcp:

0 commit comments

Comments
 (0)