From f79f32647939e0305588dd1e1405a4e16d413193 Mon Sep 17 00:00:00 2001 From: vincent Date: Fri, 14 Oct 2022 12:52:34 +0200 Subject: [PATCH] change wireguard perssistant time --- ansible/host_vars/corwin | 8 ++++---- ansible/host_vars/gerard | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ansible/host_vars/corwin b/ansible/host_vars/corwin index d610ad3..33e7a74 100644 --- a/ansible/host_vars/corwin +++ b/ansible/host_vars/corwin @@ -3,18 +3,18 @@ ansible_host: 65.108.221.233 wireguard_address: "10.0.0.1/24" wireguard_endpoint: "65.108.221.233" -wireguard_persistent_keepalive: "30" +wireguard_persistent_keepalive: "20" wireguard_allowed_ips: "10.0.0.1/32" wireguard_postup: - iptables -A FORWARD -o %i -j ACCEPT - iptables -A FORWARD -i %i -j ACCEPT - - iptables -t nat -A POSTROUTING -o enp1s0 -j MASQUERADE + - iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE wireguard_postdown: - iptables -D FORWARD -i %i -j ACCEPT - iptables -D FORWARD -o %i -j ACCEPT - - iptables -t nat -D POSTROUTING -o enp1s0 -j MASQUERADE + - iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE wireguard_unmanaged_peers: phone: @@ -34,7 +34,7 @@ nomad_host_networks: - name: "private" interface: wg0 - name: "public" - interface: enp1s0 + interface: eth0 - name: "default" interface: wg0 vault_listener_address: 10.0.0.1 diff --git a/ansible/host_vars/gerard b/ansible/host_vars/gerard index e24d1e8..89f5961 100644 --- a/ansible/host_vars/gerard +++ b/ansible/host_vars/gerard @@ -4,7 +4,7 @@ ansible_python_interpreter: "/usr/bin/python3" wireguard_address: "10.0.0.6/24" wireguard_byhost_allowed_ips: merlin: 10.0.0.6,192.168.1.41 -perrsistent_keepalive: "30" +perrsistent_keepalive: "20" wireguard_endpoint: "" wireguard_postup: