summaryrefslogtreecommitdiff
path: root/testing/tests/ikev1/starter-includes/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev1/starter-includes/pretest.dat')
-rw-r--r--testing/tests/ikev1/starter-includes/pretest.dat11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/tests/ikev1/starter-includes/pretest.dat b/testing/tests/ikev1/starter-includes/pretest.dat
new file mode 100644
index 000000000..b034a0c03
--- /dev/null
+++ b/testing/tests/ikev1/starter-includes/pretest.dat
@@ -0,0 +1,11 @@
+moon::cat /etc/ipsec.connections /etc/ipsec.host /etc/ipsec.peers/*
+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
+carol::ipsec start
+dave::ipsec start
+moon::ipsec start --debug-all
+carol::sleep 2
+carol::ipsec up home
+dave::ipsec up home
+carol::sleep 1