mirror of
https://github.com/strongswan/strongswan.git
synced 2025-11-29 00:00:17 -05:00
19 lines
1012 B
Plaintext
19 lines
1012 B
Plaintext
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 --leases 2> /dev/null
|
|
moon::iptables-restore < /etc/iptables.rules
|
|
carol::iptables-restore < /etc/iptables.rules
|
|
dave::iptables-restore < /etc/iptables.rules
|
|
moon::service charon start 2> /dev/null
|
|
carol::service charon start 2> /dev/null
|
|
dave::service charon start 2> /dev/null
|
|
moon::expect-connection rw
|
|
dave::expect-connection home
|
|
dave::swanctl --initiate --child home 2> /dev/null
|
|
carol::expect-connection home
|
|
carol::swanctl --initiate --child home 2> /dev/null
|