aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2007-07-04 18:55:54 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2007-07-04 18:55:54 +0000
commit1fb704404b8c06d8965a89506ac4d40db8c57f2c (patch)
tree533dadeb2b2c58ef90f9280fea30d45938e78dd5 /testing/tests/ikev2
parent13763a385c42fbd4163f95796ebea65f753753cf (diff)
downloadstrongswan-1fb704404b8c06d8965a89506ac4d40db8c57f2c.tar.bz2
strongswan-1fb704404b8c06d8965a89506ac4d40db8c57f2c.tar.xz
execute conntrack -F at the outset4.1.4
Diffstat (limited to 'testing/tests/ikev2')
-rw-r--r--testing/tests/ikev2/nat-one-rw/pretest.dat1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/tests/ikev2/nat-one-rw/pretest.dat b/testing/tests/ikev2/nat-one-rw/pretest.dat
index ebd0c19e2..a4f5ecd79 100644
--- a/testing/tests/ikev2/nat-one-rw/pretest.dat
+++ b/testing/tests/ikev2/nat-one-rw/pretest.dat
@@ -1,5 +1,6 @@
alice::/etc/init.d/iptables start 2> /dev/null
sun::/etc/init.d/iptables start 2> /dev/null
+moon::conntrack -F
moon::echo 1 > /proc/sys/net/ipv4/ip_forward
moon::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p udp -j SNAT --to-source PH_IP_MOON:1024-1100
moon::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p tcp -j SNAT --to-source PH_IP_MOON:2000-2100