summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/double-nat/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev2/double-nat/posttest.dat')
-rw-r--r--testing/tests/ikev2/double-nat/posttest.dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/ikev2/double-nat/posttest.dat b/testing/tests/ikev2/double-nat/posttest.dat
index 5d39e406d..aa806bfc9 100644
--- a/testing/tests/ikev2/double-nat/posttest.dat
+++ b/testing/tests/ikev2/double-nat/posttest.dat
@@ -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