diff --git a/host_vars/hindley/networking.yml b/host_vars/hindley/networking.yml index 0f62177..d8b6318 100644 --- a/host_vars/hindley/networking.yml +++ b/host_vars/hindley/networking.yml @@ -1,11 +1,15 @@ --- interfaces: enp2s0: - ipv4: "45.66.110.3" + ipv4: 45.66.110.3 netmaskv4: 24 + type: static + routes: + - {subnet: 0.0.0.0, netmask: 0, gateway: 45.66.110.254} wg0: ipv4: "{{ intranet.subnets.physical.subnets.hindley.ipv4 }}" netmaskv4: "{{ intranet.netmaskv4 }}" + type: wireguard ipv4_forwarding: true ipv6_forwarding: false diff --git a/host_vars/hindley/vpn.yml b/host_vars/hindley/vpn.yml index e4472e7..ba6a557 100644 --- a/host_vars/hindley/vpn.yml +++ b/host_vars/hindley/vpn.yml @@ -1,7 +1,6 @@ --- vpn_interfaces: wg0: - ip: "{{ interfaces.wg0.ipv4 }}" private_key: "{{ vpn_vault_hindley_key }}" public_key: "Ce48/ZdvpI2S82bIivhiWHQsyidzTAtxCnEYojY3xEA=" keepalive: false