aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/double-nat-net/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev2/double-nat-net/pretest.dat')
-rw-r--r--testing/tests/ikev2/double-nat-net/pretest.dat4
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/tests/ikev2/double-nat-net/pretest.dat b/testing/tests/ikev2/double-nat-net/pretest.dat
index 41b69aed6..0fe51b9e8 100644
--- a/testing/tests/ikev2/double-nat-net/pretest.dat
+++ b/testing/tests/ikev2/double-nat-net/pretest.dat
@@ -1,5 +1,5 @@
-alice::/etc/init.d/iptables start 2> /dev/null
-bob::/etc/init.d/iptables start 2> /dev/null
+alice::iptables-restore < /etc/iptables.rules
+bob::iptables-restore < /etc/iptables.rules
bob::echo 1 > /proc/sys/net/ipv4/ip_forward
moon::echo 1 > /proc/sys/net/ipv4/ip_forward
sun::echo 1 > /proc/sys/net/ipv4/ip_forward