11 lines
293 B
Plaintext
Raw Normal View History

2020-12-02 18:11:18 +01:00
[Interface]
Address = {{ vpn_network }}.{{item|int + 1}}/32
DNS = 9.9.9.9
2020-12-02 18:11:18 +01:00
PrivateKey = {{ private_key_files.results[item|int].stdout }}
[Peer]
PublicKey = {{ public_key_files.results[0].stdout }}
AllowedIPs = 0.0.0.0/0
Endpoint = {{ ansible_ssh_host }}:{{ vpn_port }}
PersistentKeepalive = 0