]> git.ipfire.org Git - people/ms/strongswan.git/blobdiff - testing/tests/ikev2/rw-eap-peap-radius/pretest.dat
testing: Reorganizing IKEv1 and IKEv2 examples
[people/ms/strongswan.git] / testing / tests / ikev2 / rw-eap-peap-radius / pretest.dat
index c98e8ed53a8c2d049baa2909208819dbc0f14eb2..6363fcb5902892f0b86546dcd1dceb81e729f7ba 100644 (file)
@@ -1,12 +1,14 @@
 moon::iptables-restore < /etc/iptables.rules
 carol::iptables-restore < /etc/iptables.rules
-dave::iptables-restore < /etc/iptables.rules
+carol::iptables-restore < /etc/iptables.rules
+carol::cd /etc/swanctl; rm rsa/* x509/*
+dave::cd /etc/swanctl; rm rsa/* x509/*
 alice::freeradius
-moon::ipsec start
-carol::ipsec start
-dave::ipsec start
+moon::systemctl start strongswan
+carol::systemctl start strongswan
+dave::systemctl start strongswan
 moon::expect-connection rw-eap
 carol::expect-connection home
-carol::ipsec up home
+carol::swanctl --initiate --child home 2> /dev/null
 dave::expect-connection home
-dave::ipsec up home
+dave::swanctl --initiate --child home 2> /dev/null