Annotation of embedaddon/strongswan/testing/tests/route-based/net2net-xfrmi-ike/pretest.dat, revision 1.1.1.1

1.1       misho       1: moon::iptables-restore < /etc/iptables.rules
                      2: sun::iptables-restore < /etc/iptables.rules
                      3: moon::/usr/local/libexec/ipsec/xfrmi -n xfrm-moon-out -d eth0 -i 1337
                      4: moon::/usr/local/libexec/ipsec/xfrmi -n xfrm-moon-in  -d eth0 -i 42
                      5: moon::ip link set xfrm-moon-out up
                      6: moon::ip link set xfrm-moon-in up
                      7: moon::ip route add 10.2.0.0/16 dev xfrm-moon-out
                      8: moon::iptables -A FORWARD -o xfrm-moon-out -j ACCEPT
                      9: moon::iptables -A FORWARD -i xfrm-moon-in -j ACCEPT
                     10: moon::systemctl start strongswan
                     11: sun::systemctl start strongswan
                     12: moon::expect-connection gw-gw
                     13: sun::expect-connection gw-gw
                     14: moon::swanctl --initiate --child alice-net
                     15: moon::swanctl --initiate --child venus-net

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>