Annotation of embedaddon/strongswan/testing/tests/route-based/net2net-gre/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::ip tunnel add gre-moon local PH_IP_MOON remote PH_IP_SUN mode gre key 42
                      4: moon::ip link set gre-moon up
                      5: moon::ip route add 10.2.0.0/16 dev gre-moon
                      6: moon::iptables -A FORWARD -i gre-moon -j ACCEPT
                      7: moon::iptables -A FORWARD -o gre-moon -j ACCEPT
                      8: sun::ip tunnel add gre-sun local PH_IP_SUN remote PH_IP_MOON mode gre key 42
                      9: sun::ip link set gre-sun up
                     10: sun::ip route add 10.1.0.0/16 dev gre-sun
                     11: sun::iptables -A FORWARD -i gre-sun -j ACCEPT
                     12: sun::iptables -A FORWARD -o gre-sun -j ACCEPT
                     13: moon::systemctl start strongswan
                     14: sun::systemctl start strongswan
                     15: moon::expect-connection gw-gw
                     16: sun::expect-connection gw-gw
                     17: moon::swanctl --initiate --child gre

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