123456789101112131415161718 |
- 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
- dave::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
- dave::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db
- moon::ipsec pool --status 2> /dev/null
- carol::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
- dave::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
- moon::cd /etc/swanctl; rm -r rsa/* x509/* x509ca/*
- moon::systemctl start strongswan
- carol::systemctl start strongswan
- dave::systemctl start strongswan
- moon::expect-connection rw
- carol::expect-connection home
- carol::swanctl --initiate --child home 2> /dev/null
- dave::expect-connection home
- dave::swanctl --initiate --child home 2> /dev/null
|