summaryrefslogtreecommitdiff
path: root/testing/tests/libipsec/net2net-cert-ipv6/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/libipsec/net2net-cert-ipv6/posttest.dat')
-rw-r--r--testing/tests/libipsec/net2net-cert-ipv6/posttest.dat9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/tests/libipsec/net2net-cert-ipv6/posttest.dat b/testing/tests/libipsec/net2net-cert-ipv6/posttest.dat
new file mode 100644
index 000000000..8cbf20027
--- /dev/null
+++ b/testing/tests/libipsec/net2net-cert-ipv6/posttest.dat
@@ -0,0 +1,9 @@
+moon::swanctl --terminate --ike gw-gw 2> /dev/null
+moon::systemctl stop strongswan-swanctl
+sun::systemctl stop strongswan-swanctl
+alice::"ip route del fec2:\:/16 via fec1:\:1"
+moon::"ip route del fec2:\:/16 via fec0:\:2"
+sun::"ip route del fec1:\:/16 via fec0:\:1"
+bob::"ip route del fec1:\:/16 via fec2:\:1"
+moon::iptables-restore < /etc/iptables.flush
+sun::iptables-restore < /etc/iptables.flush