| moon::cat /usr/local/share/strongswan/templates/database/sql/sqlite.sql > /etc/db.d/ipsec.sql |
| moon::cat /etc/db.d/ipsec.sql | sqlite3 /etc/db.d/ipsec.db |
| moon::ipsec pool --add intpool --start 10.4.0.1 --end 10.4.1.244 --timeout 0 2> /dev/null |
| moon::iptables-restore < /etc/iptables.rules |
| carol::iptables-restore < /etc/iptables.rules |
| alice::iptables-restore < /etc/iptables.rules |
| moon::systemctl start strongswan |
| carol::systemctl start strongswan |
| alice::systemctl start strongswan |
| moon::expect-connection rw1 |
| carol::expect-connection home |
| carol::swanctl --initiate --child home 2> /dev/null |
| moon::expect-connection rw2 |
| alice::expect-connection home |
| alice::swanctl --initiate --child home 2> /dev/null |