ansible.fftdf.supernode/roles/00-system-set-network/tasks/templates/50-ifdown-hooks.sh.j2

6 lines
132 B
Plaintext
Raw Normal View History

2022-05-05 18:03:54 +00:00
#!/bin/bash
if [ "$IFACE" == "gre*" ];
then
iptables -t nat -D POSTROUTING -o $IFACE -j SNAT --to-source {{ ffrl_ipv4 }}
fi