aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/swanctl/config-payload/pretest.dat
blob: 9c281d032f59ce15a3b650bc2ece2980b58cdaba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
moon::iptables-restore < /etc/iptables.rules
carol::iptables-restore < /etc/iptables.rules
dave::iptables-restore < /etc/iptables.rules
moon::cat /etc/swanctl/swanctl_base.conf
moon::service charon start 2> /dev/null
carol::service charon start 2> /dev/null
dave::service charon start 2> /dev/null
moon::expect-connection rw-carol
carol::expect-connection home
carol::swanctl --initiate --child home 2> /dev/null
dave::expect-connection home
dave::swanctl --initiate --child home 2> /dev/null