2021-04-27 20:57:23 +02:00
|
|
|
---
|
|
|
|
vpn_interfaces:
|
|
|
|
wg0:
|
2021-07-08 00:33:13 +02:00
|
|
|
ip: "{{ interfaces.wg0.ipv4 }}"
|
2021-04-27 20:57:23 +02:00
|
|
|
private_key: "{{ vpn_vault_vm4_key }}"
|
|
|
|
public_key: "5M84IO6uobYkMPupCI9h9y3iJXVIXAyDY8wkrMPcaRw="
|
|
|
|
keepalive: true
|
|
|
|
peers:
|
|
|
|
- endpoint: "{{ hostvars['hindley'].interfaces.enp2s0.ipv4 }}"
|
|
|
|
public_key: "{{ hostvars['hindley'].vpn_interfaces.wg0.public_key }}"
|
2021-07-12 02:09:39 +02:00
|
|
|
allowed_ips:
|
|
|
|
- "{{ hostvars['hindley'].vpn_interfaces.wg0.ip }}/{{ interfaces.wg0.netmaskv4 }}"
|
2021-04-27 20:57:23 +02:00
|
|
|
comment: "hindley"
|