added sql/rw-psk-ipv6 scenario
[strongswan.git] / testing / tests / sql / rw-psk-ipv6 / pretest.dat
1 moon::rm /etc/ipsec.d/cacerts/*
2 carol::rm /etc/ipsec.d/cacerts/*
3 dave::rm /etc/ipsec.d/cacerts/*
4 moon::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
5 carol::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
6 dave::cat /etc/ipsec.d/ipsec.sql | sqlite3 /etc/ipsec.d/ipsec.db
7 moon::/etc/init.d/iptables start 2> /dev/null
8 carol::/etc/init.d/iptables start 2> /dev/null
9 dave::/etc/init.d/iptables start 2> /dev/null
10 alice::"ip route add fec0:\:/16 via fec1:\:1"
11 carol::"ip route add fec1:\:/16 via fec0:\:1"
12 dave::"ip route add fec1:\:/16 via fec0:\:1"
13 moon::ipsec start
14 carol::ipsec start
15 dave::ipsec start
16 carol::sleep 1
17 carol::ipsec up home
18 dave::ipsec up home