added test cases from NAT team

updated all IKEv2 tests to work with new status output
This commit is contained in:
Martin Willi
2006-07-13 12:45:18 +00:00
parent 1279eda042
commit 7af345e11e
74 changed files with 1069 additions and 15 deletions
@@ -0,0 +1,10 @@
sun::echo 1 > /proc/sys/net/ipv4/ip_forward
sun::iptables -m multiport -t nat -A PREROUTING -i eth0 -p udp --dports 500,4500 -j DNAT --to 10.2.0.10
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
bob::ipsec start
alice::ipsec start
alice::sleep 1
alice::ipsec up home
alice::sleep 1