adguard-home/templates/AdGuardHome.yaml.j2
changeset 54 1ea4f1c7c675
parent 50 15edca738a31
child 134 484d4d6d24b0
equal deleted inserted replaced
53:9e4f750f5d36 54:1ea4f1c7c675
    67   certificate_chain: ""
    67   certificate_chain: ""
    68   private_key: ""
    68   private_key: ""
    69   certificate_path: ""
    69   certificate_path: ""
    70   private_key_path: ""
    70   private_key_path: ""
    71 filters:
    71 filters:
       
    72 {% for filter in adguard_home_filters %}
    72 - enabled: true
    73 - enabled: true
    73   url: https://adguardteam.github.io/AdGuardSDNSFilter/Filters/filter.txt
    74   url: {{filter.url}}
    74   name: AdGuard Simplified Domain Names filter
    75   name: {{filter.name}}
    75   id: 1
    76   id: {{filter.id}}
    76 - enabled: false
    77 {% else %}  []
    77   url: https://adaway.org/hosts.txt
    78 {% endfor %}
    78   name: AdAway
       
    79   id: 2
       
    80 - enabled: false
       
    81   url: https://www.malwaredomainlist.com/hostslist/hosts.txt
       
    82   name: MalwareDomainList.com Hosts List
       
    83   id: 4
       
    84 whitelist_filters: []
    79 whitelist_filters: []
    85 user_rules: []
    80 user_rules: []
    86 dhcp:
    81 dhcp:
    87   enabled: false
    82   enabled: false
    88   interface_name: ""
    83   interface_name: ""
    90   subnet_mask: ""
    85   subnet_mask: ""
    91   range_start: ""
    86   range_start: ""
    92   range_end: ""
    87   range_end: ""
    93   lease_duration: 86400
    88   lease_duration: 86400
    94   icmp_timeout_msec: 1000
    89   icmp_timeout_msec: 1000
    95 clients: []
    90 clients:
       
    91 {% for client in adguard_home_clients %}
       
    92 - name: {{client.name}}
       
    93   tags: []
       
    94   ids:
       
    95   - {{client.ip}}
       
    96   use_global_settings: {{not client.bypass}}
       
    97   filtering_enabled: false
       
    98   parental_enabled: false
       
    99   safesearch_enabled: false
       
   100   safebrowsing_enabled: false
       
   101   use_global_blocked_services: {{not client.bypass}}
       
   102   blocked_services: []
       
   103   upstreams: []
       
   104 {% else %}  []
       
   105 {% endfor %}
    96 log_file: ""
   106 log_file: ""
    97 verbose: false
   107 verbose: false
    98 schema_version: 6
   108 schema_version: 6