pretest.dat 637 B

12345678910111213141516
  1. moon::iptables-restore < /etc/iptables.rules
  2. carol::iptables-restore < /etc/iptables.rules
  3. dave::iptables-restore < /etc/iptables.rules
  4. moon::/usr/local/libexec/ipsec/xfrmi -n xfrm-moon -i 42 -d eth0
  5. moon::ip link set xfrm-moon up
  6. moon::ip route add 10.3.0.0/28 dev xfrm-moon
  7. moon::iptables -A FORWARD -i xfrm-moon -j ACCEPT
  8. moon::iptables -A FORWARD -o xfrm-moon -j ACCEPT
  9. moon::systemctl start strongswan
  10. carol::systemctl start strongswan
  11. dave::systemctl start strongswan
  12. moon::expect-connection rw
  13. carol::expect-connection home
  14. carol::swanctl --initiate --child home
  15. dave::expect-connection home
  16. dave::swanctl --initiate --child home