11 lines
270 B
Plaintext
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
|