2020-12-28 17:22:32 +01:00

11 lines
270 B
Plaintext

[Interface]
Address = {{ vpn_network }}.{{item|int + 2}}/32
DNS = {{ dns_for_clients }}
PrivateKey = {{ item.stdout }}
[Peer]
PublicKey = {{ vpn_server_public_key.stdout }}
AllowedIPs = 0.0.0.0/0
Endpoint = {{ ansible_ssh_host }}:{{ vpn_port }}
PersistentKeepalive = 0