use iptables-restore in all ikev2 firewall scenarios

This commit is contained in:
Andreas Steffen authored and Tobias Brunner committed 2013-01-17 16:55:00 +01:00
1 parent 28b7db2b3c
commit d815235d17
245 files changed
+1374 -2743

No files matched your search

@@ -1,7 +1,7 @@
bob::ipsec stop
alice::ipsec stop
alice::/etc/init.d/iptables stop 2> /dev/null
bob::/etc/init.d/iptables stop 2> /dev/null
alice::iptables-restore < /etc/iptables.flush
bob::iptables-restore < /etc/iptables.flush
moon::iptables -t nat -F
sun::iptables -t nat -F
moon::conntrack -F