Add custom DNS server
This commit is contained in:
parent
ec478c3cf5
commit
af936990e2
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
[Interface]
|
||||
Address = {{ item.value.ip }}
|
||||
PrivateKey = {{ item.value.private_key }}
|
||||
{% if item.value != wireguard.clients.intersect %}
|
||||
DNS = {{ wireguard.clients.intersect.ip }}
|
||||
{% endif %}
|
||||
|
||||
[Peer]
|
||||
PublicKey = {{ wireguard.server.public_key }}
|
||||
|
|
Loading…
Reference in a new issue