mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2025-01-08 19:32:31 +01:00
unbound: add access-control
This commit is contained in:
parent
76d4ed352f
commit
c22386c5d4
9
etc/unbound/unbound.conf.d/access-control
Normal file
9
etc/unbound/unbound.conf.d/access-control
Normal file
@ -0,0 +1,9 @@
|
||||
# Listen on public interfaces
|
||||
interface: 0.0.0.0
|
||||
# NOTE! `sysctl net.ipv6.bindv6only=1`
|
||||
interface: ::
|
||||
|
||||
# Allow connecting from
|
||||
access-control: 10.0.0.0/8 allow
|
||||
access-control: 172.16.0.0/16 allow
|
||||
access-control: 192.168.0.0/16 allow
|
Loading…
Reference in New Issue
Block a user