Annotation of embedaddon/strongswan/testing/tests/swanctl/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: alice::cd /etc/swanctl; rm x509ca/* x509/* rsa/*
5: venus::cd /etc/swanctl; rm x509ca/* x509/* rsa/*
6: sun::cd /etc/swanctl; rm x509ca/* x509/* rsa/*
7: 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
8: 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
9: sun::systemctl start strongswan
10: alice::systemctl start strongswan
11: venus::systemctl start strongswan
12: sun::expect-connection nat-t
13: alice::expect-connection nat-t
14: alice::swanctl --initiate --child nat-t
15: venus::expect-connection nat-t
16: venus::swanctl --initiate --child nat-t
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>