summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/rw-whitelist/pretest.dat
blob: 0f246a8a4dbc3ef6a461233d81480e987543a9d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
moon::iptables-restore < /etc/iptables.rules
carol::iptables-restore < /etc/iptables.rules
dave::iptables-restore < /etc/iptables.rules
carol::ipsec start
dave::ipsec start
moon::ipsec start
moon::expect-connection rw
moon::ipsec whitelist add alice@strongswan.org
moon::ipsec whitelist add bob@strongswan.org
moon::ipsec whitelist add carol@strongswan.org
moon::ipsec whitelist enable
moon::ipsec whitelist list
carol::expect-connection home
carol::ipsec up home
dave::expect-connection home
dave::ipsec up home
carol::sleep 1