summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/shunt-policies/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev2/shunt-policies/pretest.dat')
-rw-r--r--testing/tests/ikev2/shunt-policies/pretest.dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/ikev2/shunt-policies/pretest.dat b/testing/tests/ikev2/shunt-policies/pretest.dat
index 2d7a78acb..c724e5df8 100644
--- a/testing/tests/ikev2/shunt-policies/pretest.dat
+++ b/testing/tests/ikev2/shunt-policies/pretest.dat
@@ -1,5 +1,5 @@
-moon::/etc/init.d/iptables start 2> /dev/null
-sun::/etc/init.d/iptables start 2> /dev/null
+moon::iptables-restore < /etc/iptables.rules
+sun::iptables-restore < /etc/iptables.rules
moon::ipsec start
sun::ipsec start
moon::sleep 1