about summary refs log tree commit diff stats
path: root/core/conf/iptables/ipt-stop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'core/conf/iptables/ipt-stop.sh')
-rw-r--r--core/conf/iptables/ipt-stop.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/core/conf/iptables/ipt-stop.sh b/core/conf/iptables/ipt-stop.sh
new file mode 100644
index 0000000..55af57c
--- /dev/null
+++ b/core/conf/iptables/ipt-stop.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+echo "blocking network..."
+
+source /etc/iptables/ipt-firewall.sh
+
+ipt_clear
+ipt_tables