2020-12-27 14:25:20 +01:00

11 lines
256 B
Plaintext

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