summaryrefslogtreecommitdiff
path: root/testing/tests/libipsec/host2host-cert/pretest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/libipsec/host2host-cert/pretest.dat')
-rw-r--r--testing/tests/libipsec/host2host-cert/pretest.dat8
1 files changed, 8 insertions, 0 deletions
diff --git a/testing/tests/libipsec/host2host-cert/pretest.dat b/testing/tests/libipsec/host2host-cert/pretest.dat
new file mode 100644
index 000000000..d8d30af02
--- /dev/null
+++ b/testing/tests/libipsec/host2host-cert/pretest.dat
@@ -0,0 +1,8 @@
+moon::sysctl -w net.ipv4.conf.all.rp_filter=2
+sun::sysctl -w net.ipv4.conf.all.rp_filter=2
+moon::iptables-restore < /etc/iptables.rules
+sun::iptables-restore < /etc/iptables.rules
+moon::ipsec start
+sun::ipsec start
+moon::sleep 1
+moon::ipsec up host-host