summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/xauth-psk/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev1/xauth-psk/pretest.dat')
-rw-r--r--testing/tests/ikev1/xauth-psk/pretest.dat12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/tests/ikev1/xauth-psk/pretest.dat b/testing/tests/ikev1/xauth-psk/pretest.dat
new file mode 100644
index 000000000..95a6be131
--- /dev/null
+++ b/testing/tests/ikev1/xauth-psk/pretest.dat
@@ -0,0 +1,12 @@
+moon::/etc/init.d/iptables start 2> /dev/null
+carol::/etc/init.d/iptables start 2> /dev/null
+dave::/etc/init.d/iptables start 2> /dev/null
+moon::rm /etc/ipsec.d/cacerts/*
+carol::rm /etc/ipsec.d/cacerts/*
+dave::rm /etc/ipsec.d/cacerts/*
+moon::ipsec start
+carol::ipsec start
+dave::ipsec start
+carol::sleep 2
+carol::ipsec up home
+dave::ipsec up home