aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ikev2/net2net-dnssec/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev2/net2net-dnssec/pretest.dat')
-rw-r--r--testing/tests/ikev2/net2net-dnssec/pretest.dat8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/ikev2/net2net-dnssec/pretest.dat b/testing/tests/ikev2/net2net-dnssec/pretest.dat
new file mode 100644
index 000000000..0f4ae0f4f
--- /dev/null
+++ b/testing/tests/ikev2/net2net-dnssec/pretest.dat
@@ -0,0 +1,8 @@
+moon::iptables-restore < /etc/iptables.rules
+sun::iptables-restore < /etc/iptables.rules
+moon::rm /etc/ipsec.d/cacerts/*
+sun::rm /etc/ipsec.d/cacerts/*
+moon::ipsec start
+sun::ipsec start
+moon::sleep 2
+moon::ipsec up net-net