Ver código fonte

[Unbound] Allow internal networks in access-control

andre.peters 7 anos atrás
pai
commit
696b52b5eb
1 arquivos alterados com 5 adições e 3 exclusões
  1. 5 3
      data/conf/unbound/unbound.conf

+ 5 - 3
data/conf/unbound/unbound.conf

@@ -8,8 +8,11 @@ server:
   do-udp: yes
   do-udp: yes
   do-tcp: yes
   do-tcp: yes
   do-daemonize: no
   do-daemonize: no
-  access-control: 172.22.1.0/24 allow
-  access-control: fd4d:6169:6c63:6f77::/64 allow
+  access-control: 10.0.0.0/8 allow
+  access-control: 172.16.0.0/12 allow
+  access-control: 192.168.0.0/16 allow
+  access-control: fd00::/8 allow
+  access-control: fe80::/10 allow
   directory: "/etc/unbound"
   directory: "/etc/unbound"
   username: unbound
   username: unbound
   auto-trust-anchor-file: trusted-key.key
   auto-trust-anchor-file: trusted-key.key
@@ -19,7 +22,6 @@ server:
   private-address: 169.254.0.0/16
   private-address: 169.254.0.0/16
   private-address: fd00::/8
   private-address: fd00::/8
   private-address: fe80::/10
   private-address: fe80::/10
-  private-address: fd4d:6169:6c63:6f77::/64
   root-hints: "/etc/unbound/root.hints"
   root-hints: "/etc/unbound/root.hints"
   hide-identity: yes
   hide-identity: yes
   hide-version: yes
   hide-version: yes