summaryrefslogtreecommitdiff
path: root/testing/tests/ikev2/ip-two-pools-db/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/ikev2/ip-two-pools-db/posttest.dat')
-rw-r--r--testing/tests/ikev2/ip-two-pools-db/posttest.dat16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/tests/ikev2/ip-two-pools-db/posttest.dat b/testing/tests/ikev2/ip-two-pools-db/posttest.dat
new file mode 100644
index 000000000..5ea5128ce
--- /dev/null
+++ b/testing/tests/ikev2/ip-two-pools-db/posttest.dat
@@ -0,0 +1,16 @@
+alice::ipsec stop
+venus::ipsec stop
+moon::ipsec stop
+carol::ipsec stop
+dave::ipsec stop
+alice::/etc/init.d/iptables stop 2> /dev/null
+venus::/etc/init.d/iptables stop 2> /dev/null
+moon::/etc/init.d/iptables stop 2> /dev/null
+carol::/etc/init.d/iptables stop 2> /dev/null
+dave::/etc/init.d/iptables stop 2> /dev/null
+moon::ip route del 10.3.0.0/16 via PH_IP_MOON
+moon::ip route del 10.4.0.0/16 via PH_IP_MOON1
+moon::conntrack -F
+moon::ipsec pool --del extpool
+moon::ipsec pool --del intpool
+moon::rm /etc/ipsec.d/ipsec.*