infrastructure/ansible/roles/gateway/files/wireguard-client.conf
2020-01-19 17:59:36 +00:00

11 lines
256 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