summaryrefslogtreecommitdiff
path: root/testing/tests/openssl-ikev2/net2net-pgp-v3/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/openssl-ikev2/net2net-pgp-v3/pretest.dat')
-rw-r--r--testing/tests/openssl-ikev2/net2net-pgp-v3/pretest.dat8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/openssl-ikev2/net2net-pgp-v3/pretest.dat b/testing/tests/openssl-ikev2/net2net-pgp-v3/pretest.dat
new file mode 100644
index 000000000..0f4ae0f4f
--- /dev/null
+++ b/testing/tests/openssl-ikev2/net2net-pgp-v3/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