pretest.dat 869 B

123456789101112131415161718192021
  1. moon::iptables-restore < /etc/iptables.rules
  2. carol::iptables-restore < /etc/iptables.rules
  3. dave::iptables-restore < /etc/iptables.rules
  4. moon::ip6tables-restore < /etc/ip6tables.rules
  5. carol::ip6tables-restore < /etc/ip6tables.rules
  6. dave::ip6tables-restore < /etc/ip6tables.rules
  7. alice::"ip route add fec3:\:/16 via fec1:\:1"
  8. moon::ip tunnel add vti0 local PH_IP_MOON remote 0.0.0.0 mode vti key 42
  9. moon::sysctl -w net.ipv4.conf.vti0.disable_policy=1
  10. moon::ip link set vti0 up
  11. moon::"ip route add fec3:\:/16 dev vti0"
  12. moon::ip6tables -A FORWARD -i vti0 -j ACCEPT
  13. moon::ip6tables -A FORWARD -o vti0 -j ACCEPT
  14. moon::systemctl start strongswan
  15. carol::systemctl start strongswan
  16. dave::systemctl start strongswan
  17. moon::expect-connection rw
  18. carol::expect-connection home
  19. carol::swanctl --initiate --child home
  20. dave::expect-connection home
  21. dave::swanctl --initiate --child home