AdGuardHome_template.yaml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. #提交就可以直接用的配置模板文件
  2. #a template config can be use with a apply
  3. bind_host: 0.0.0.0
  4. bind_port: 3000
  5. users:
  6. - name: root
  7. password: $2y$10$FfeQavihMUiXCuJhHuQwy.6EOXDvkXb/S50qI5fXizqarNT/ShhQm
  8. language: ""
  9. rlimit_nofile: 0
  10. dns:
  11. bind_host: 0.0.0.0
  12. port: 5553
  13. statistics_interval: 1
  14. protection_enabled: true
  15. filtering_enabled: true
  16. filters_update_interval: 24
  17. blocking_mode: nxdomain
  18. blocked_response_ttl: 10
  19. querylog_enabled: false
  20. querylog_interval: 1
  21. ratelimit: 0
  22. ratelimit_whitelist: []
  23. refuse_any: false
  24. bootstrap_dns:
  25. #bootstrap_dns
  26. all_servers: false
  27. allowed_clients: []
  28. disallowed_clients: []
  29. blocked_hosts: []
  30. parental_block_host: ""
  31. safebrowsing_block_host: ""
  32. blocked_services: []
  33. cache_size: 4194304
  34. parental_sensitivity: 13
  35. parental_enabled: false
  36. safesearch_enabled: false
  37. safebrowsing_enabled: false
  38. safebrowsing_cache_size: 1048576
  39. safesearch_cache_size: 1048576
  40. parental_cache_size: 1048576
  41. cache_time: 30
  42. rewrites: []
  43. upstream_dns:
  44. #upstream_dns
  45. tls:
  46. enabled: false
  47. server_name: ""
  48. force_https: false
  49. port_https: 443
  50. port_dns_over_tls: 853
  51. certificate_chain: ""
  52. private_key: ""
  53. certificate_path: ""
  54. private_key_path: ""
  55. filters:
  56. - enabled: true
  57. url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt
  58. name: AdGuard Simplified Domain Names filter
  59. id: 1
  60. - enabled: true
  61. url: https://adaway.org/hosts.txt
  62. name: AdAway
  63. id: 2
  64. - enabled: false
  65. url: https://hosts-file.net/ad_servers.txt
  66. name: hpHosts - Ad and Tracking servers only
  67. id: 3
  68. - enabled: true
  69. url: https://www.malwaredomainlist.com/hostslist/hosts.txt
  70. name: MalwareDomainList.com Hosts List
  71. id: 4
  72. - enabled: false
  73. url: https://raw.githubusercontent.com/vokins/yhosts/master/data/tvbox.txt
  74. name: tvbox
  75. id: 1575018007
  76. - enabled: true
  77. url: https://hosts.nfz.moe/full/hosts
  78. name: neoHosts full
  79. id: 1575618240
  80. - enabled: false
  81. url: https://hosts.nfz.moe/basic/hosts
  82. name: neoHosts basic
  83. id: 1575618241
  84. - enabled: false
  85. url: http://sbc.io/hosts/hosts
  86. name: StevenBlack host basic
  87. id: 1575618242
  88. - enabled: false
  89. url: http://sbc.io/hosts/alternates/fakenews-gambling-porn-social/hosts
  90. name: StevenBlack host+fakenews + gambling + porn + social
  91. id: 1575618243
  92. - enabled: false
  93. url: https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD/anti-ad-easylist.txt
  94. name: anti-AD(Adblock+neohosts+yhosts+cjxlist+adhlist)
  95. id: 1577113202
  96. user_rules: []
  97. dhcp:
  98. enabled: false
  99. interface_name: ""
  100. gateway_ip: ""
  101. subnet_mask: ""
  102. range_start: ""
  103. range_end: ""
  104. lease_duration: 86400
  105. icmp_timeout_msec: 1000
  106. clients: []
  107. log_file: ""
  108. verbose: false
  109. schema_version: 5