Annotation of embedaddon/strongswan/testing/tests/ikev2/nat-rw-psk/pretest.dat, revision 1.1.1.1
1.1 misho 1: alice::iptables-restore < /etc/iptables.rules
2: venus::iptables-restore < /etc/iptables.rules
3: sun::iptables-restore < /etc/iptables.rules
4: 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
5: 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
6: alice::rm /etc/ipsec.d/cacerts/*
7: venus::rm /etc/ipsec.d/cacerts/*
8: sun::rm /etc/ipsec.d/cacerts/*
9: sun::ipsec start
10: alice::ipsec start
11: venus::ipsec start
12: sun::expect-connection nat-t
13: alice::expect-connection nat-t
14: alice::ipsec up nat-t
15: venus::expect-connection nat-t
16: venus::ipsec up nat-t
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>