Annotation of embedaddon/strongswan/testing/tests/swanctl/shunt-policies-nat-rw/pretest.dat, revision 1.1
1.1 ! misho 1: sun::iptables-restore < /etc/iptables.rules
! 2: 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
! 3: 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
! 4: sun::systemctl start strongswan
! 5: alice::systemctl start strongswan
! 6: venus::systemctl start strongswan
! 7: sun::expect-connection nat-t
! 8: alice::expect-connection nat-t
! 9: venus::expect-connection nat-t
! 10: alice::swanctl --initiate --child nat-t 2> /dev/null
! 11: venus::swanctl --initiate --child nat-t 2> /dev/null
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>