wireguard: Use different subnet

This commit is contained in:
2024-04-14 18:04:20 -05:00
parent 55c45c6f3d
commit 20db9d5088
6 changed files with 293 additions and 265 deletions

View File

@ -23,13 +23,17 @@ autossh_config: []
wireguard_interfaces:
wg0:
address: 10.255.0.1/32
address:
- 169.254.0.1/24
- fc00::ffff:169.254.0.1/64
private_key: "{{ vault_wireguard_private_keys.wg0 }}"
listen_port: 51820
table: 'off'
wg1:
address:
- 192.168.255.1/24
- 2600:3c00:e000:343::1/128
- fc01::ffff:192.168.255.1/128
- 2600:3c00:e000:343::ffff:192.168.255.1/128
private_key: "{{ vault_wireguard_private_keys.wg1 }}"
listen_port: 51821

View File

@ -161,6 +161,8 @@ openvpn_certificates:
wireguard_interfaces:
wg0:
address: 10.255.0.16/32
address:
- 169.254.0.2/24
- fc00::ffff:169.254.0.2/64
private_key: "{{ vault_wireguard_private_keys.wg0 }}"
listen_port: 51820