|
|
@ -7,46 +7,16 @@ vpn_interfaces:
|
|
|
|
keepalive: false
|
|
|
|
keepalive: false
|
|
|
|
peers:
|
|
|
|
peers:
|
|
|
|
- endpoint: ""
|
|
|
|
- endpoint: ""
|
|
|
|
public_key: "{{ hostvars['azerty'].vpn_interfaces.wg0.public_key }}"
|
|
|
|
public_key: "jvjOCj5xVTLwyQ8o7QsYvF2ep1HbD/GKnmjpqJuztB8="
|
|
|
|
allowed_ips:
|
|
|
|
|
|
|
|
- "{{ hostvars['azerty'].vpn_interfaces.wg0.ip }}/32"
|
|
|
|
|
|
|
|
comment: "azerty"
|
|
|
|
|
|
|
|
- endpoint: ""
|
|
|
|
|
|
|
|
public_key: "{{ hostvars['hellman'].vpn_interfaces.wg0.public_key }}"
|
|
|
|
|
|
|
|
allowed_ips:
|
|
|
|
allowed_ips:
|
|
|
|
- "{{ hostvars['hellman'].vpn_interfaces.wg0.ip }}/32"
|
|
|
|
- "{{ intranet.subnets.physical.subnets.router_hellman.ipv4 }}/{{ intranet.subnets.physical.subnets.router_hellman.netmaskv4 }}"
|
|
|
|
- "{{ intranet.subnets.guest_hellman.ipv4 }}/{{ intranet.subnets.guest_hellman.netmaskv4 }}"
|
|
|
|
- "{{ intranet.subnets.guest_hellman.ipv4 }}/{{ intranet.subnets.guest_hellman.netmaskv4 }}"
|
|
|
|
comment: "hellman"
|
|
|
|
comment: "Router hosted on Hellman"
|
|
|
|
- endpoint: ""
|
|
|
|
- endpoint: ""
|
|
|
|
public_key: "{{ vpn_guest_keys.knuth }}"
|
|
|
|
public_key: "{{ vpn_guest_keys.knuth }}"
|
|
|
|
allowed_ips:
|
|
|
|
allowed_ips:
|
|
|
|
- "{{ intranet.subnets.guest.subnets.knuth.ipv4 }}/{{ intranet.subnets.guest.subnets.knuth.netmaskv4 }}"
|
|
|
|
- "{{ intranet.subnets.guest.subnets.knuth.ipv4 }}/{{ intranet.subnets.guest.subnets.knuth.netmaskv4 }}"
|
|
|
|
comment: "Client laptop: knuth"
|
|
|
|
comment: "Client laptop: knuth"
|
|
|
|
- endpoint: ""
|
|
|
|
|
|
|
|
public_key: "{{ hostvars['rossum'].vpn_interfaces.wg0.public_key }}"
|
|
|
|
|
|
|
|
allowed_ips:
|
|
|
|
|
|
|
|
- "{{ hostvars['rossum'].vpn_interfaces.wg0.ip }}/32"
|
|
|
|
|
|
|
|
comment: "Raspi at paris, Rossum"
|
|
|
|
|
|
|
|
- endpoint: ""
|
|
|
|
|
|
|
|
public_key: "{{ hostvars['vm1'].vpn_interfaces.wg0.public_key }}"
|
|
|
|
|
|
|
|
allowed_ips:
|
|
|
|
|
|
|
|
- "{{ hostvars['vm1'].vpn_interfaces.wg0.ip }}/32"
|
|
|
|
|
|
|
|
comment: "Test VM 1, hosted by knuth"
|
|
|
|
|
|
|
|
- endpoint: ""
|
|
|
|
|
|
|
|
public_key: "{{ hostvars['vm2'].vpn_interfaces.wg0.public_key }}"
|
|
|
|
|
|
|
|
allowed_ips:
|
|
|
|
|
|
|
|
- "{{ hostvars['vm2'].vpn_interfaces.wg0.ip }}/32"
|
|
|
|
|
|
|
|
comment: "Test VM 2, hosted by knuth"
|
|
|
|
|
|
|
|
- endpoint: ""
|
|
|
|
|
|
|
|
public_key: "{{ hostvars['vm3'].vpn_interfaces.wg0.public_key }}"
|
|
|
|
|
|
|
|
allowed_ips:
|
|
|
|
|
|
|
|
- "{{ hostvars['vm3'].vpn_interfaces.wg0.ip }}/32"
|
|
|
|
|
|
|
|
comment: "Test VM 3, hosted by knuth"
|
|
|
|
|
|
|
|
- endpoint: ""
|
|
|
|
|
|
|
|
public_key: "{{ hostvars['vm4'].vpn_interfaces.wg0.public_key }}"
|
|
|
|
|
|
|
|
allowed_ips:
|
|
|
|
|
|
|
|
- "{{ hostvars['vm4'].vpn_interfaces.wg0.ip }}/32"
|
|
|
|
|
|
|
|
comment: "Test VM 4, hosted by knuth"
|
|
|
|
|
|
|
|
- endpoint: ""
|
|
|
|
- endpoint: ""
|
|
|
|
public_key: "{{ hostvars['matrix_server'].vpn_interfaces.wg0.public_key }}"
|
|
|
|
public_key: "{{ hostvars['matrix_server'].vpn_interfaces.wg0.public_key }}"
|
|
|
|
allowed_ips:
|
|
|
|
allowed_ips:
|
|
|
|