2021-06-22 10:23:06 +02:00

14 lines
512 B
Plaintext
Executable File

moon::iptables-restore < /etc/iptables.rules
carol::iptables-restore < /etc/iptables.rules
dave::iptables-restore < /etc/iptables.rules
carol::cd /etc/swanctl; rm rsa/* x509/* x509ca/*
moon::systemctl start strongswan
carol::systemctl start strongswan
dave::systemctl start strongswan
moon::expect-connection rw-psk
moon::expect-connection rw-pubkey
carol::expect-connection home
carol::swanctl --initiate --child home 2> /dev/null
dave::expect-connection home
dave::swanctl --initiate --child home 2> /dev/null