pretest.dat 830 B

123456789101112131415161718192021
  1. moon::iptables-restore < /etc/iptables.rules
  2. carol::iptables-restore < /etc/iptables.rules
  3. dave::iptables-restore < /etc/iptables.rules
  4. winnetou::ip route add 10.1.0.0/16 via 192.168.0.1
  5. alice::cat /etc/tnc_config
  6. carol::cat /etc/tnc_config
  7. dave::cat /etc/tnc_config
  8. carol::echo 0 > /proc/sys/net/ipv4/ip_forward
  9. dave::echo aabbccddeeff11223344556677889900 > /var/lib/dbus/machine-id
  10. alice::rm /etc/swanctl/rsa/aliceKey.pem
  11. alice::rm /etc/swanctl/x509/aliceCert.pem
  12. alice::systemctl start strongswan
  13. moon::systemctl start strongswan
  14. carol::systemctl start strongswan
  15. dave::systemctl start strongswan
  16. moon::expect-connection rw-allow
  17. moon::expect-connection rw-isolate
  18. carol::expect-connection home
  19. carol::swanctl --initiate --child home 2> /dev/null
  20. dave::expect-connection home
  21. dave::swanctl --initiate --child home 2> /dev/null