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