Add custom DNS server
This commit is contained in:
@ -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 }}
|
||||||
|
Reference in New Issue
Block a user