Output wireguard client config files

This commit is contained in:
Jake Howard
2020-01-19 16:43:51 +00:00
parent f6ffb1ceef
commit 251fe11113
3 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,10 @@
[Interface]
Address = {{ item.value.ip }}
PrivateKey = {{ item.value.private_key }}
[Peer]
PublicKey = {{ wireguard.server.public_key }}
Endpoint = {{ wireguard.public_ip }}:{{ wireguard.port }}
AllowedIPs = {{ item.value.ip }}/32
PersistentKeepalive = 25