- moon::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/db.d/ipsec.sql
- carol::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql /etc/ipsec.d/data.sql > /etc/db.d/ipsec.sql
- moon::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
- carol::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
- carol::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
- moon::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
- moon::iptables-restore < /etc/iptables.rules
- carol::iptables-restore < /etc/iptables.rules
- moon::systemctl start strongswan
- carol::systemctl start strongswan
- moon::expect-connection rw-eap-aka
- carol::expect-connection home
- carol::swanctl --initiate --child home 2> /dev/null
|