aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/nat-portswitch/evaltest.dat
blob: 75b01a551d18337efde8e0dbfbb6c3e474c12b13 (plain)
1
2
3
4
5
6
7
8
9
10
sun::ipsec statusall::rw-alice.*ESTABLISHED::YES
alice::ipsec statusall::home.*ESTABLISHED::YES
moon::cmd::iptables -t nat -F::YES
moon::cmd::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p udp -j SNAT --to-source PH_IP_MOON:3024-3100::YES
moon::cmd::iptables -t nat -A POSTROUTING -o eth0 -s 10.1.0.0/16 -p tcp -j SNAT --to-source PH_IP_MOON:4000-4100::YES
moon::cmd::conntrack -F::YES
alice::cmd::sleep 75::YES
bob::ping -c 1 PH_IP_ALICE::64 bytes from PH_IP_ALICE: icmp_seq=1::YES
moon::tcpdump::IP moon.strongswan.org.* > sun.strongswan.org.ipsec-nat-t: UDP, length: 132::YES
moon::tcpdump::IP sun.strongswan.org.ipsec-nat-t > moon.strongswan.org.*: UDP, length: 132::YES