2021-11-22 12:07:41 +01:00

12 lines
298 B
Plaintext

[Interface]
Address = {{ vpn_network }}.{{item|int + 1}}/32
DNS = 9.9.9.9
PrivateKey = {{ private_key_files.results[item|int].stdout }}
MTU = 1500
[Peer]
PublicKey = {{ vpn_server_public_key.stdout }}
AllowedIPs = 0.0.0.0/0
Endpoint = {{ ansible_ssh_host }}:{{ vpn_port }}
PersistentKeepalive = 0