pretest.dat 730 B

12345678910111213
  1. moon::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/db.d/ipsec.sql
  2. carol::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/db.d/ipsec.sql
  3. moon::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
  4. carol::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
  5. carol::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
  6. moon::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
  7. moon::iptables-restore < /etc/iptables.rules
  8. carol::iptables-restore < /etc/iptables.rules
  9. moon::systemctl start strongswan
  10. carol::systemctl start strongswan
  11. moon::expect-connection rw-eap-aka
  12. carol::expect-connection home
  13. carol::swanctl --initiate --child home 2> /dev/null