aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/swanctl/net2net-pubkey/pretest.dat
blob: 021675bc51a788ca29994e606f30d9c590c9085b (plain)
1
2
3
4
5
6
7
8
9
sun::iptables-restore < /etc/iptables.rules
moon::iptables-restore < /etc/iptables.rules
sun::cd /etc/swanctl; rm x509/* x509ca/*
moon::cd /etc/swanctl; rm x509/* x509ca/*
sun::systemctl start strongswan-swanctl
moon::systemctl start strongswan-swanctl
sun::expect-connection gw-gw
moon::expect-connection gw-gw
moon::swanctl --initiate --child net-net 2> /dev/null