mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
While the alias is available after enabling the unit, we don't actually do that in our testing environment (adding a symlink manually would work too, then again, why not just use the proper name?).
20 lines
661 B
Plaintext
20 lines
661 B
Plaintext
moon::iptables-restore < /etc/iptables.rules
|
|
carol::iptables-restore < /etc/iptables.rules
|
|
dave::iptables-restore < /etc/iptables.rules
|
|
moon::cat /etc/tnc_config
|
|
carol::cat /etc/tnc_config
|
|
dave::cat /etc/tnc_config
|
|
carol::rm /etc/swanctl/rsa/*
|
|
dave::rm /etc/swanctl/rsa/*
|
|
carol::rm /etc/swanctl/x509/*
|
|
dave::rm /etc/swanctl/x509/*
|
|
moon::systemctl start strongswan
|
|
carol::systemctl start strongswan
|
|
dave::systemctl start strongswan
|
|
moon::expect-connection rw-allow
|
|
moon::expect-connection rw-isolate
|
|
carol::expect-connection home
|
|
carol::swanctl --initiate --child home 2> /dev/null
|
|
dave::expect-connection home
|
|
dave::swanctl --initiate --child home 2> /dev/null
|