11 lines
270 B
Plaintext
Raw Normal View History

2020-12-02 18:11:18 +01:00
[Interface]
2020-12-28 17:22:32 +01:00
Address = {{ vpn_network }}.{{item|int + 2}}/32
DNS = {{ dns_for_clients }}
2020-12-27 14:25:20 +01:00
PrivateKey = {{ item.stdout }}
2020-12-02 18:11:18 +01:00
[Peer]
2020-12-27 14:25:20 +01:00
PublicKey = {{ vpn_server_public_key.stdout }}
2020-12-02 18:11:18 +01:00
AllowedIPs = 0.0.0.0/0
Endpoint = {{ ansible_ssh_host }}:{{ vpn_port }}
PersistentKeepalive = 0