summaryrefslogtreecommitdiffstats
path: root/core/modules/netpoint-lightdm/data/usr/local/bin/guest-cleanup
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/netpoint-lightdm/data/usr/local/bin/guest-cleanup')
-rwxr-xr-xcore/modules/netpoint-lightdm/data/usr/local/bin/guest-cleanup8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/modules/netpoint-lightdm/data/usr/local/bin/guest-cleanup b/core/modules/netpoint-lightdm/data/usr/local/bin/guest-cleanup
new file mode 100755
index 00000000..32179cec
--- /dev/null
+++ b/core/modules/netpoint-lightdm/data/usr/local/bin/guest-cleanup
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+IPTABLES=$(/usr/bin/which iptables)
+
+"$IPTABLES" -F
+"$IPTABLES" -P INPUT ACCEPT
+"$IPTABLES" -P FORWARD ACCEPT
+"$IPTABLES" -P OUTPUT ACCEPT