summaryrefslogtreecommitdiffstats
path: root/scripts/start
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-28 12:52:36 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-28 12:52:36 +0000
commit36c0bad1fa4d61860a9cb4688759a49fa22cde67 (patch)
tree44f4c1dcb29c5fa37a46aa2eb76bdeadedf06647 /scripts/start
parent1ed8ad88617b996a1dc37deddd2f44dd36adf4af (diff)
downloadmandi-36c0bad1fa4d61860a9cb4688759a49fa22cde67.tar
mandi-36c0bad1fa4d61860a9cb4688759a49fa22cde67.tar.gz
mandi-36c0bad1fa4d61860a9cb4688759a49fa22cde67.tar.bz2
mandi-36c0bad1fa4d61860a9cb4688759a49fa22cde67.tar.xz
mandi-36c0bad1fa4d61860a9cb4688759a49fa22cde67.zip
Initial revisionr0topic/v0
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