pretest.dat 494 B

12345678910
  1. moon::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql > /etc/db.d/ipsec.sql
  2. moon::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
  3. moon::ipsec pool --add v4_pool --start 10.3.0.1 --end 10.3.1.244 --timeout 48 2> /dev/null
  4. moon::ipsec pool --add v6_pool --start fec3:\:1 --end fec3:\:fe --timeout 48 2> /dev/null
  5. alice::ip -6 route add default via fec1:\:1
  6. moon::ipsec start
  7. carol::ipsec start
  8. moon::expect-connection rw
  9. carol::expect-connection home
  10. carol::ipsec up home