Skip to content

Commit 6cbdda6

Browse files
Update template
1 parent 1d3cacd commit 6cbdda6

File tree

1 file changed

+117
-90
lines changed

1 file changed

+117
-90
lines changed
Lines changed: 117 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,117 +1,144 @@
1-
#提交就可以直接用的配置模板文件。 user: root/password: admin
1+
# 提交就可以直接用的配置模板文件。 user: root/password: admin
22
#a template config can be use with a apply. user: root/password: admin
33

4-
bind_host: 0.0.0.0
54
#上方的bind_host: 0.0.0.0可根据自己的情况修改,比如路由IP或者保留。
65
#You can modify this "bind_host: 0.0.0.0" above by yourself, set as the routing IP according to your requirements, or keep.
76

8-
bind_port: 3000
7+
http:
8+
address: 0.0.0.0:3000
9+
pprof:
10+
enabled: false
11+
port: 6060
12+
session_ttl: 720h
913
users:
10-
- name: root
11-
password: $2y$10$ML7v5WXsM1xN12YpR15f4uSGGAzk.QXhwu99lczQ8NgrPcTYRY9Ei
14+
- name: root
15+
password: $2y$10$ML7v5WXsM1xN12YpR15f4uSGGAzk.QXhwu99lczQ8NgrPcTYRY9Ei
1216
language: ""
13-
rlimit_nofile: 0
1417
dns:
15-
bind_host: 0.0.0.0
16-
port: 5553
17-
statistics_interval: 1
18-
protection_enabled: true
19-
filtering_enabled: true
20-
filters_update_interval: 24
21-
blocking_mode: nxdomain
22-
blocked_response_ttl: 10
23-
querylog_enabled: false
24-
querylog_interval: 1
25-
ratelimit: 0
26-
ratelimit_whitelist: []
27-
refuse_any: false
18+
allowed_clients: []
19+
bind_hosts:
20+
- 0.0.0.0
21+
blocked_hosts: []
2822
bootstrap_dns:
2923
- 1.1.1.1
3024
- 114.114.114.114
31-
#bootstrap_dns
32-
all_servers: false
33-
allowed_clients: []
34-
disallowed_clients: []
35-
blocked_hosts: []
36-
parental_block_host: ""
37-
safebrowsing_block_host: ""
38-
blocked_services: []
3925
cache_size: 4194304
40-
parental_sensitivity: 13
41-
parental_enabled: false
42-
safesearch_enabled: false
43-
safebrowsing_enabled: false
44-
safebrowsing_cache_size: 1048576
45-
safesearch_cache_size: 1048576
46-
parental_cache_size: 1048576
4726
cache_time: 30
48-
rewrites: []
27+
disallowed_clients: []
28+
edns_client_subnet:
29+
custom_ip: ""
30+
enabled: false
31+
use_custom: false
32+
parental_sensitivity: 13
33+
port: 5553
34+
ratelimit: 0
35+
ratelimit_whitelist: []
36+
refuse_any: false
4937
upstream_dns:
5038
- 1.1.1.1
5139
- 114.114.114.114
52-
#upstream_dns
40+
upstream_mode: load_balance
5341
tls:
42+
certificate_chain: ""
43+
certificate_path: ""
5444
enabled: false
55-
server_name: ""
5645
force_https: false
57-
port_https: 443
5846
port_dns_over_tls: 853
59-
certificate_chain: ""
47+
port_https: 443
6048
private_key: ""
61-
certificate_path: ""
6249
private_key_path: ""
50+
server_name: ""
51+
querylog:
52+
enabled: false
53+
file_enabled: true
54+
ignored: []
55+
interval: 24h
56+
size_memory: 1000
57+
statistics:
58+
enabled: true
59+
ignored: []
60+
interval: 24h
6361
filters:
64-
- enabled: true
65-
url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt
66-
name: AdGuard Simplified Domain Names filter
67-
id: 1
68-
- enabled: true
69-
url: https://adaway.org/hosts.txt
70-
name: AdAway
71-
id: 2
72-
- enabled: false
73-
url: https://hosts-file.net/ad_servers.txt
74-
name: hpHosts - Ad and Tracking servers only
75-
id: 3
76-
- enabled: false
77-
url: https://www.malwaredomainlist.com/hostslist/hosts.txt
78-
name: MalwareDomainList.com Hosts List
79-
id: 4
80-
- enabled: false
81-
url: https://raw.githubusercontent.com/vokins/yhosts/master/data/tvbox.txt
82-
name: tvbox
83-
id: 1575018007
84-
- enabled: false
85-
url: https://cdn.jsdelivr.net/gh/neoFelhz/neohosts@gh-pages/full/hosts.txt
86-
name: neoHosts full
87-
id: 1575618240
88-
- enabled: false
89-
url: https://cdn.jsdelivr.net/gh/neoFelhz/neohosts@gh-pages/basic/hosts.txt
90-
name: neoHosts basic
91-
id: 1575618241
92-
- enabled: false
93-
url: http://sbc.io/hosts/hosts
94-
name: StevenBlack host basic
95-
id: 1575618242
96-
- enabled: false
97-
url: http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts
98-
name: StevenBlack host+fakenews + gambling + porn + social
99-
id: 1575618243
100-
- enabled: false
101-
url: https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD@master/anti-ad-easylist.txt
102-
name: anti-AD(Adblock+neohosts+yhosts+cjxlist+adhlist)
103-
id: 1577113202
62+
- enabled: true
63+
id: 1
64+
name: AdGuard DNS filter
65+
url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt
66+
- enabled: true
67+
id: 2
68+
name: AdAway Default Blocklist
69+
url: https://adaway.org/hosts.txt
70+
- enabled: false
71+
id: 1575618240
72+
name: neoHosts full
73+
url: https://cdn.jsdelivr.net/gh/neoFelhz/neohosts@gh-pages/full/hosts.txt
74+
- enabled: false
75+
id: 1575618241
76+
name: neoHosts basic
77+
url: https://cdn.jsdelivr.net/gh/neoFelhz/neohosts@gh-pages/basic/hosts.txt
78+
- enabled: false
79+
id: 1575618242
80+
name: StevenBlack host basic
81+
url: http://sbc.io/hosts/hosts
82+
- enabled: false
83+
id: 1575618243
84+
name: StevenBlack host + fakenews + gambling + porn + social
85+
url: http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts
86+
- enabled: false
87+
id: 1741278925
88+
name: 217heidai AdBlock DNS Filters
89+
url: https://cdn.jsdelivr.net/gh/217heidai/adblockfilters@main/rules/adblockdns.txt
10490
user_rules: []
10591
dhcp:
92+
dhcpv4:
93+
gateway_ip: ""
94+
icmp_timeout_msec: 1000
95+
lease_duration: 86400
96+
range_end: ""
97+
range_start: ""
98+
subnet_mask: ""
10699
enabled: false
107100
interface_name: ""
108-
gateway_ip: ""
109-
subnet_mask: ""
110-
range_start: ""
111-
range_end: ""
112-
lease_duration: 86400
113-
icmp_timeout_msec: 1000
114-
clients: []
115-
log_file: ""
116-
verbose: false
117-
schema_version: 5
101+
filtering:
102+
blocked_response_ttl: 10
103+
blocked_services:
104+
ids: []
105+
schedule:
106+
time_zone: Local
107+
blocking_mode: nxdomain
108+
filtering_enabled: true
109+
filters_update_interval: 24
110+
parental_block_host: ""
111+
parental_cache_size: 1048576
112+
parental_enabled: false
113+
protection_enabled: true
114+
rewrites: []
115+
safe_fs_patterns:
116+
- /usr/bin/AdGuardHome/data/userfilters/*
117+
safe_search:
118+
bing: true
119+
duckduckgo: true
120+
enabled: false
121+
google: true
122+
pixabay: true
123+
yandex: true
124+
youtube: true
125+
safebrowsing_block_host: ""
126+
safebrowsing_cache_size: 1048576
127+
safebrowsing_enabled: false
128+
safesearch_cache_size: 1048576
129+
clients:
130+
persistent: []
131+
runtime_sources:
132+
arp: true
133+
dhcp: true
134+
hosts: true
135+
rdns: false
136+
whois: true
137+
log:
138+
file: ""
139+
verbose: false
140+
os:
141+
group: ""
142+
rlimit_nofile: 0
143+
user: ""
144+
schema_version: 29

0 commit comments

Comments
 (0)