From 1bee6ee326e1fefe681255c208efb566271e2b8f Mon Sep 17 00:00:00 2001 From: vincent Date: Thu, 17 Aug 2023 10:06:07 +0200 Subject: [PATCH] change gerard network interface name --- ansible/host_vars/gerard | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/host_vars/gerard b/ansible/host_vars/gerard index 0a3edfa..38adf4a 100644 --- a/ansible/host_vars/gerard +++ b/ansible/host_vars/gerard @@ -11,10 +11,10 @@ wireguard_endpoint: "" wireguard_postup: - iptables -A FORWARD -i wg0 -j ACCEPT - iptables -A FORWARD -o wg0 -j ACCEPT - - iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE + - iptables -t nat -A POSTROUTING -o enu1u1 -j MASQUERADE wireguard_postdown: - iptables -D FORWARD -i wg0 -j ACCEPT - iptables -D FORWARD -o wg0 -j ACCEPT - - iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE + - iptables -t nat -D POSTROUTING -o enu1u1 -j MASQUERADE