infrastructure/ansible/roles/gateway/files/wireguard-client.conf

11 lines
258 B
Plaintext
Raw Normal View History

2020-01-19 16:43:51 +00:00
[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