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