testing: Fixed two issues

This commit is contained in:
Andreas Steffen
2022-09-06 21:14:07 +02:00
parent f4931ce7e6
commit bf3f678551
2 changed files with 2 additions and 0 deletions
@@ -13,3 +13,4 @@ carol::expect-connection home
carol::swanctl --initiate --child home 2> /dev/null
dave::expect-connection home
dave::swanctl --initiate --child home 2> /dev/null
dave::sleep 1
@@ -3,6 +3,7 @@ dave::systemctl stop strongswan
moon::systemctl stop strongswan
alice::systemctl stop strongswan
alice::cd /etc/swanctl; rm rsa/marsKey.pem x509/marsCert.pem
moon::cd /etc/swanctl; rm rsa/marsKey.pem x509/marsCert.pem
moon::iptables-restore < /etc/iptables.flush
alice::iptables-restore < /etc/iptables.flush
carol::iptables-restore < /etc/iptables.flush