Add custom DNS server

This commit is contained in:
Jake Howard 2020-01-23 20:06:45 +00:00
parent ec478c3cf5
commit af936990e2
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,6 +1,9 @@
[Interface] [Interface]
Address = {{ item.value.ip }} Address = {{ item.value.ip }}
PrivateKey = {{ item.value.private_key }} PrivateKey = {{ item.value.private_key }}
{% if item.value != wireguard.clients.intersect %}
DNS = {{ wireguard.clients.intersect.ip }}
{% endif %}
[Peer] [Peer]
PublicKey = {{ wireguard.server.public_key }} PublicKey = {{ wireguard.server.public_key }}