2021-04-22 21:44:40 +02:00
|
|
|
---
|
|
|
|
vpn_interfaces:
|
|
|
|
wg0:
|
2021-07-08 00:33:13 +02:00
|
|
|
ip: "{{ interfaces.wg0.ipv4 }}"
|
2021-04-22 21:44:40 +02:00
|
|
|
private_key: "{{ vpn_vault_hindley_key }}"
|
2021-04-22 22:12:57 +02:00
|
|
|
public_key: "Ce48/ZdvpI2S82bIivhiWHQsyidzTAtxCnEYojY3xEA="
|
2021-04-22 21:44:40 +02:00
|
|
|
keepalive: false
|
|
|
|
peers:
|
|
|
|
- endpoint: ""
|
2021-04-27 20:57:23 +02:00
|
|
|
public_key: "{{ hostvars['azerty'].vpn_interfaces.wg0.public_key }}"
|
2021-07-12 02:09:39 +02:00
|
|
|
allowed_ips:
|
|
|
|
- "{{ hostvars['azerty'].vpn_interfaces.wg0.ip }}/32"
|
2021-04-23 00:40:31 +02:00
|
|
|
comment: "azerty"
|
2021-04-22 21:44:40 +02:00
|
|
|
- endpoint: ""
|
2021-04-27 20:57:23 +02:00
|
|
|
public_key: "{{ hostvars['hellman'].vpn_interfaces.wg0.public_key }}"
|
2021-07-12 02:09:39 +02:00
|
|
|
allowed_ips:
|
|
|
|
- "{{ hostvars['hellman'].vpn_interfaces.wg0.ip }}/32"
|
|
|
|
- "{{ intranet.subnets.guest_hellman.ipv4 }}/{{ intranet.subnets.guest_hellman.netmaskv4 }}"
|
2021-04-23 00:40:31 +02:00
|
|
|
comment: "hellman"
|
|
|
|
- endpoint: ""
|
2021-04-23 19:14:28 +02:00
|
|
|
public_key: "{{ vpn_guest_keys.knuth }}"
|
2021-07-12 02:09:39 +02:00
|
|
|
allowed_ips:
|
|
|
|
- "{{ intranet.subnets.guest.subnets.knuth.ipv4 }}/{{ intranet.subnets.guest.subnets.knuth.netmaskv4 }}"
|
2021-04-23 09:16:33 +02:00
|
|
|
comment: "Client laptop: knuth"
|
2021-04-25 18:49:28 +02:00
|
|
|
- endpoint: ""
|
|
|
|
public_key: "{{ hostvars['rossum'].vpn_interfaces.wg0.public_key }}"
|
2021-07-12 02:09:39 +02:00
|
|
|
allowed_ips:
|
|
|
|
- "{{ hostvars['rossum'].vpn_interfaces.wg0.ip }}/32"
|
2021-04-25 18:49:28 +02:00
|
|
|
comment: "Raspi at paris, Rossum"
|
2021-04-27 20:57:23 +02:00
|
|
|
- endpoint: ""
|
|
|
|
public_key: "{{ hostvars['vm1'].vpn_interfaces.wg0.public_key }}"
|
2021-07-12 02:09:39 +02:00
|
|
|
allowed_ips:
|
|
|
|
- "{{ hostvars['vm1'].vpn_interfaces.wg0.ip }}/32"
|
2021-04-27 20:57:23 +02:00
|
|
|
comment: "Test VM 1, hosted by knuth"
|
|
|
|
- endpoint: ""
|
|
|
|
public_key: "{{ hostvars['vm2'].vpn_interfaces.wg0.public_key }}"
|
2021-07-12 02:09:39 +02:00
|
|
|
allowed_ips:
|
|
|
|
- "{{ hostvars['vm2'].vpn_interfaces.wg0.ip }}/32"
|
2021-04-27 20:57:23 +02:00
|
|
|
comment: "Test VM 2, hosted by knuth"
|
|
|
|
- endpoint: ""
|
|
|
|
public_key: "{{ hostvars['vm3'].vpn_interfaces.wg0.public_key }}"
|
2021-07-12 02:09:39 +02:00
|
|
|
allowed_ips:
|
|
|
|
- "{{ hostvars['vm3'].vpn_interfaces.wg0.ip }}/32"
|
2021-04-27 20:57:23 +02:00
|
|
|
comment: "Test VM 3, hosted by knuth"
|
|
|
|
- endpoint: ""
|
|
|
|
public_key: "{{ hostvars['vm4'].vpn_interfaces.wg0.public_key }}"
|
2021-07-12 02:09:39 +02:00
|
|
|
allowed_ips:
|
|
|
|
- "{{ hostvars['vm4'].vpn_interfaces.wg0.ip }}/32"
|
2021-04-27 20:57:23 +02:00
|
|
|
comment: "Test VM 4, hosted by knuth"
|
2021-08-07 01:06:30 +02:00
|
|
|
- endpoint: ""
|
|
|
|
public_key: "{{ hostvars['matrix_server'].vpn_interfaces.wg0.public_key }}"
|
|
|
|
allowed_ips:
|
|
|
|
- "{{ hostvars['matrix_server'].vpn_interfaces.wg0.ip }}/32"
|
|
|
|
comment: "matrix VM, hosted on g33kex's server"
|
|
|
|
|
2021-04-27 20:57:23 +02:00
|
|
|
|
2021-04-23 19:14:28 +02:00
|
|
|
|