summaryrefslogtreecommitdiff
path: root/testing/tests/swanctl/nat-rw/posttest.dat
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/swanctl/nat-rw/posttest.dat')
-rw-r--r--testing/tests/swanctl/nat-rw/posttest.dat7
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/tests/swanctl/nat-rw/posttest.dat b/testing/tests/swanctl/nat-rw/posttest.dat
new file mode 100644
index 000000000..a41653640
--- /dev/null
+++ b/testing/tests/swanctl/nat-rw/posttest.dat
@@ -0,0 +1,7 @@
+sun::systemctl stop strongswan-swanctl
+alice::systemctl stop strongswan-swanctl
+venus::systemctl stop strongswan-swanctl
+alice::iptables-restore < /etc/iptables.flush
+venus::iptables-restore < /etc/iptables.flush
+sun::iptables-restore < /etc/iptables.flush
+moon::iptables -t nat -F