testing: Migrated ikev2 scenarios to swanctl
[strongswan.git] / testing / tests / swanctl / net2net-psk / pretest.dat
1 moon::iptables-restore < /etc/iptables.rules
2 sun::iptables-restore < /etc/iptables.rules
3 moon::cd /etc/swanctl; rm rsa/* x509/* x509ca/*
4 sun::cd /etc/swanctl; rm rsa/* x509/* x509ca/*
5 moon::systemctl start strongswan-swanctl
6 sun::systemctl start strongswan-swanctl
7 moon::expect-connection gw-gw
8 sun::expect-connection gw-gw
9 moon::swanctl --initiate --child net-net 2> /dev/null