12 lines
310 B
Plaintext
12 lines
310 B
Plaintext
|
[Interface]
|
||
|
Address = {{ vpn_network }}.{{item|int + 1}}/32
|
||
|
DNS = 10.100.100.1
|
||
|
PrivateKey = {{ private_key_files.results[item|int].stdout }}
|
||
|
MTU = 1500
|
||
|
|
||
|
[Peer]
|
||
|
PublicKey = {{ public_key_files.results[0].stdout }}
|
||
|
AllowedIPs = 0.0.0.0/0
|
||
|
Endpoint = {{ ansible_ssh_host }}:{{ vpn_port }}
|
||
|
PersistentKeepalive = 0
|