summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/rw-eap-sim-only-radius/pretest.dat
blob: 66c82974764ec8fe289b9a458dd1b1733750e423 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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/*
dave::cd /etc/swanctl; rm rsa/* x509/*
carol::cat /etc/ipsec.d/triplets.dat
dave::cat /etc/ipsec.d/triplets.dat
alice::freeradius
moon::systemctl start strongswan-swanctl
carol::systemctl start strongswan-swanctl
dave::systemctl start strongswan-swanctl
moon::expect-connection rw-eap
carol::expect-connection home
carol::swanctl --initiate --child home 2> /dev/null
dave::expect-connection home
dave::swanctl --initiate --child home 2> /dev/null