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

11 lines
256 B
Text
Raw Permalink 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 }}
2020-01-19 17:59:36 +00:00
AllowedIPs = {{ wireguard.cidr }}
2020-01-19 16:43:51 +00:00
PersistentKeepalive = 25