AdGuardHome.yaml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. bind_host: 0.0.0.0
  2. bind_port: 100
  3. users:
  4. - name: root
  5. password: $2y$10$gyxCCCIhoPNGzqPVyQnwzeKeITo.pWYcMWGtUxO2ICiOzPeUroIbm
  6. language: zh-cn
  7. rlimit_nofile: 0
  8. web_session_ttl: 720
  9. dns:
  10. bind_host: 0.0.0.0
  11. port: 5335
  12. statistics_interval: 90
  13. querylog_enabled: true
  14. querylog_interval: 7
  15. querylog_memsize: 0
  16. protection_enabled: true
  17. blocking_mode: default
  18. blocking_ipv4: ""
  19. blocking_ipv6: ""
  20. blocked_response_ttl: 300
  21. ratelimit: 0
  22. ratelimit_whitelist: []
  23. refuse_any: true
  24. bootstrap_dns:
  25. - 8.8.8.8:53
  26. - 59.51.78.210:53
  27. - 119.29.29.29:53
  28. - 127.0.0.1:5555
  29. all_servers: true
  30. edns_client_subnet: true
  31. aaaa_disabled: true
  32. allowed_clients: []
  33. disallowed_clients: []
  34. blocked_hosts: []
  35. parental_block_host: family-block.dns.adguard.com
  36. safebrowsing_block_host: standard-block.dns.adguard.com
  37. cache_size: 4194304
  38. upstream_dns:
  39. - 127.0.0.1:5335
  40. - tcp://208.67.222.222:5353
  41. - tcp://59.51.78.210
  42. - tls://1.1.1.1
  43. - tls://dns.google
  44. - tls://dns.quad9.net
  45. - tcp://168.95.1.1
  46. - tcp://202.141.162.123:5353
  47. - tls://dns.rubyfish.cn
  48. - https://i.233py.com/dns-query
  49. - https://dns.233py.com/dns-query
  50. - tcp://202.86.191.50
  51. - tcp://101.6.6.6:5353
  52. - tcp://210.0.255.250
  53. - tcp://203.198.7.66
  54. - tcp://77.88.8.8
  55. - tls://101.101.101.101
  56. - tcp://203.198.7.66
  57. - tcp://202.56.128.30
  58. filtering_enabled: true
  59. filters_update_interval: 12
  60. parental_enabled: false
  61. safesearch_enabled: false
  62. safebrowsing_enabled: false
  63. safebrowsing_cache_size: 1048576
  64. safesearch_cache_size: 1048576
  65. parental_cache_size: 1048576
  66. cache_time: 30
  67. rewrites: []
  68. blocked_services: []
  69. tls:
  70. enabled: false
  71. server_name: ""
  72. force_https: false
  73. port_https: 443
  74. port_dns_over_tls: 853
  75. allow_unencrypted_doh: false
  76. strict_sni_check: false
  77. certificate_chain: ""
  78. private_key: ""
  79. certificate_path: ""
  80. private_key_path: ""
  81. filters:
  82. - enabled: true
  83. url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt
  84. name: AdGuard Simplified Domain Names filter
  85. id: 1
  86. - enabled: false
  87. url: https://adaway.org/hosts.txt
  88. name: AdAway
  89. id: 2
  90. - enabled: false
  91. url: https://hosts-file.net/ad_servers.txt
  92. name: hpHosts - Ad and Tracking servers only
  93. id: 3
  94. - enabled: true
  95. url: https://www.malwaredomainlist.com/hostslist/hosts.txt
  96. name: MalwareDomainList.com Hosts List
  97. id: 4
  98. - enabled: false
  99. url: https://github.com/vokins/yhosts/raw/master/hosts.txt
  100. name: yhosts
  101. id: 1572918261
  102. - enabled: false
  103. url: https://raw.githubusercontent.com/jdlingyu/ad-wars/master/hosts
  104. name: ad-wars
  105. id: 1572918262
  106. - enabled: false
  107. url: https://gitlab.com/CHEF-KOCH/cks-filterlist/raw/master/hosts/Ads-tracker.txt
  108. name: Ad- & Tracker
  109. id: 1573389392
  110. - enabled: false
  111. url: https://raw.githubusercontent.com/Goooler/1024_hosts/master/hosts
  112. name: "1024"
  113. id: 1573404420
  114. - enabled: false
  115. url: https://raw.githubusercontent.com/googlehosts/hosts/master/hosts-files/hosts
  116. name: googlehosts
  117. id: 1573404421
  118. - enabled: true
  119. url: http://uujian.cn/browser/txt/metalist.txt
  120. name: 荟萃
  121. id: 1575015275
  122. - enabled: true
  123. url: https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/fakenews-gambling/hosts
  124. name: StevenBlack fakenews gambling
  125. id: 1577002821
  126. - enabled: true
  127. url: https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-easylist.txt
  128. name: anti-AD
  129. id: 1580820695
  130. - enabled: true
  131. url: https://raw.githubusercontent.com/jerryn70/GoodbyeAds/master/Hosts/GoodbyeAds.txt
  132. name: GoodbyeAds
  133. id: 1584350199
  134. - enabled: true
  135. url: https://gitee.com/lhzgl6587/hosts/raw/master/myruler
  136. name: 国内手机
  137. id: 1584462286
  138. whitelist_filters: []
  139. user_rules:
  140. - '@@||alimama.com^'
  141. - '@@||weidian.com'
  142. - '@@s.click.taobao.com'
  143. - '@@||www.iteye.com^$important'
  144. - '@@||www.secretchina.com^$important'
  145. - '@@||www.soundofhope.org^$important'
  146. - '@@||tv.sohu.com^$important'
  147. - '@@||ws.mmstat.com^$important'
  148. - '@@||promotion.aliyun.com^$important'
  149. - '@@||download.windowsupdate.com'
  150. - '@@||fonts.gstatic.com^$important'
  151. - '@@||tce.alicdn.com^$important'
  152. - '@@||uland.taobao.com^$important'
  153. - '@@||acs.m.taobao.com^$important'
  154. - '@@||igetget.com^$important'
  155. - '@@||acs.youku.com^$important'
  156. - '@@||static.tongdun.net^$important'
  157. - ""
  158. dhcp:
  159. enabled: false
  160. interface_name: br-lan
  161. gateway_ip: 10.0.0.2
  162. subnet_mask: 255.255.255.0
  163. range_start: 10.0.0.100
  164. range_end: 10.0.0.255
  165. lease_duration: 86400
  166. icmp_timeout_msec: 1000
  167. clients: []
  168. log_file: ""
  169. verbose: false
  170. schema_version: 6