Files
strongswan-ext/testing/tests/ikev2/nat-pf/pretest.dat
T
Martin Willi 7af345e11e added test cases from NAT team
updated all IKEv2 tests to work with new status output
2006-07-13 12:45:18 +00:00

8 lines
240 B
Plaintext

moon::echo 1 > /proc/sys/net/ipv4/ip_forward
moon::iptables -m multiport -t nat -A PREROUTING -i eth0 -p udp --dports 500,4500 -j DNAT --to 10.1.0.10
alice::ipsec start
carol::ipsec start
carol::sleep 1
carol::ipsec up home
carol::sleep 1