wireguard: fix typo in iptables delete rule

This commit is contained in:
dogeystamp 2024-06-18 15:27:30 -04:00
parent c70e33e629
commit 68e2867f44
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -5,7 +5,7 @@ ListenPort = {{ wireguard.ip.port }}
{% if "bastion" in group_names %}
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o {{ net_interface }} -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o {{ net_interface }} -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o {{ net_interface }} -j MASQUERADE
{% endif %}
SaveConfig = false