summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/rw-dnssec/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev2/rw-dnssec/pretest.dat')
-rw-r--r--testing/tests/ikev2/rw-dnssec/pretest.dat13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/tests/ikev2/rw-dnssec/pretest.dat b/testing/tests/ikev2/rw-dnssec/pretest.dat
new file mode 100644
index 000000000..40eaede87
--- /dev/null
+++ b/testing/tests/ikev2/rw-dnssec/pretest.dat
@@ -0,0 +1,13 @@
+moon::iptables-restore < /etc/iptables.rules
+carol::iptables-restore < /etc/iptables.rules
+dave::iptables-restore < /etc/iptables.rules
+moon::rm /etc/ipsec.d/cacerts/*
+carol::rm /etc/ipsec.d/cacerts/*
+dave::rm /etc/ipsec.d/cacerts/*
+carol::ipsec start
+dave::ipsec start
+moon::ipsec start
+carol::sleep 2
+carol::ipsec up home
+dave::ipsec up home
+carol::sleep 1