SL/ansible/roles/wireguard/templates/wireguard-client.conf
2022-06-13 22:09:07 +02:00

10 lines
255 B
Plaintext

[Interface]
Address = {{ item.value.ip }}
PrivateKey = {{ item.value.private_key }}
[Peer]
PublicKey = {{ wireguard.server.public_key }}
Endpoint = {{ wireguard.public_ip }}:{{ wireguard.port }}
AllowedIPs = {{ wireguard.cidr }}
PersistentKeepalive = 25