Install unbound in conf.d/openvpn.conf

For existing installs
This commit is contained in:
angristan 2018-09-15 19:02:16 +02:00
parent 09f89cd3d8
commit 21734bab5f

View file

@ -189,7 +189,7 @@ private-address: ::ffff:0:0/96" >> /etc/unbound/unbound.conf
# Add OpenVPN integration # Add OpenVPN integration
echo 'server: echo 'server:
interface: 10.8.0.1 interface: 10.8.0.1
access-control: 10.8.0.1/24 allow' >> /etc/unbound/unbound.conf access-control: 10.8.0.1/24 allow' >> /etc/unbound/conf.d/openvpn.conf
# Restart the service # Restart the service
systemctl restart unbound systemctl restart unbound