ansible/host_vars/hindley/vpn.yml

28 lines
1 KiB
YAML
Raw Normal View History

2021-04-22 21:44:40 +02:00
---
vpn_interfaces:
wg0:
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: ""
2022-05-22 20:26:16 +02:00
public_key: "jvjOCj5xVTLwyQ8o7QsYvF2ep1HbD/GKnmjpqJuztB8="
allowed_ips:
2022-05-22 20:26:16 +02:00
- "{{ intranet.subnets.physical.subnets.router_hellman.ipv4 }}/{{ intranet.subnets.physical.subnets.router_hellman.netmaskv4 }}"
- "{{ intranet.subnets.guest_hellman.ipv4 }}/{{ intranet.subnets.guest_hellman.netmaskv4 }}"
2022-05-22 20:26:16 +02:00
comment: "Router hosted on Hellman"
2021-04-23 00:40:31 +02:00
- endpoint: ""
public_key: "{{ vpn_guest_keys.knuth }}"
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-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