pretest.dat 436 B

123456789
  1. moon::cd /etc/swanctl; rm rsa/moonKey.pem x509/moonCert.pem x509ca/strongswanCert.pem
  2. sun::cd /etc/swanctl; rm rsa/sunKey.pem x509/sunCert.pem x509ca/strongswanCert.pem
  3. moon::iptables-restore < /etc/iptables.rules
  4. sun::iptables-restore < /etc/iptables.rules
  5. moon::systemctl start strongswan
  6. sun::systemctl start strongswan
  7. moon::expect-connection gw-gw
  8. sun::expect-connection gw-gw
  9. moon::swanctl --initiate --child net-net 2> /dev/null