testing: Add ikev2/shunt-policies-nat-rw scenario
[strongswan.git] / testing / tests / tkm / multiple-clients / pretest.dat
1 sun::rm /etc/ipsec.secrets
2 sun::tkm_cfgtool -c /etc/tkm/tkm.conf -i /etc/ipsec.conf -t /etc/tkm/tkm.bin -s /usr/local/share/tkm/tkmconfig.xsd
3 sun::cat /etc/ipsec.conf
4 sun::tkm_keymanager -c /etc/tkm/tkm.bin -k /etc/tkm/sunKey.der -r /etc/tkm/strongswanCert.der >/tmp/tkm.log 2>&1 &
5 sun::expect-file /tmp/tkm.rpc.ike
6 sun::DAEMON_NAME=charon-tkm ipsec start
7 carol::ipsec start
8 carol::expect-connection host-host
9 dave::ipsec start
10 dave::expect-connection host-host
11 sun::DAEMON_NAME=charon-tkm expect-connection conn1
12 sun::DAEMON_NAME=charon-tkm expect-connection conn2
13 carol::ipsec up host-host
14 dave::ipsec up host-host