summaryrefslogtreecommitdiffstats
path: root/scripts/start
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/start')
-rw-r--r--scripts/start5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/start b/scripts/start
new file mode 100644
index 0000000..b416e8b
--- /dev/null
+++ b/scripts/start
@@ -0,0 +1,5 @@
+iptables -N Ifw
+ipset -N ifw_wl iptree
+iptables -A Ifw -m set --set ifw_wl src -j RETURN
+ipset -N ifw_bl iptree --timeout 3600
+iptables -A Ifw -m set --set ifw_bl src -j DROP