aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/mobike-nat/pretest.dat
diff options
context:
space:
mode:
authorReto Buerki <reet@codelabs.ch>2013-01-16 10:06:49 +0100
committerTobias Brunner <tobias@strongswan.org>2013-01-17 16:55:03 +0100
commit530f7b84214814359942f9a1943fba643321bcea (patch)
tree7aeab7b6fe98d70a056ab9c9945cdbebc290d7ca /testing/tests/ikev2/mobike-nat/pretest.dat
parent49b1655ae12ae4ed4ff96704302bf7536525b1e6 (diff)
downloadstrongswan-530f7b84214814359942f9a1943fba643321bcea.tar.bz2
strongswan-530f7b84214814359942f9a1943fba643321bcea.tar.xz
No need to enable ip_forward in pretest files
It is enabled by default now.
Diffstat (limited to 'testing/tests/ikev2/mobike-nat/pretest.dat')
-rw-r--r--testing/tests/ikev2/mobike-nat/pretest.dat1
1 files changed, 0 insertions, 1 deletions
diff --git a/testing/tests/ikev2/mobike-nat/pretest.dat b/testing/tests/ikev2/mobike-nat/pretest.dat
index 6a9fc58c6..86ac6e7e0 100644
--- a/testing/tests/ikev2/mobike-nat/pretest.dat
+++ b/testing/tests/ikev2/mobike-nat/pretest.dat
@@ -2,7 +2,6 @@ alice::ifup eth1
alice::iptables-restore < /etc/iptables.rules
sun::iptables-restore < /etc/iptables.rules
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
alice::ipsec start