summaryrefslogtreecommitdiffstats
path: root/scripts/start
diff options
context:
space:
mode:
authorOlivier Blin <blino@mageia.org>2011-12-04 14:39:32 +0000
committerOlivier Blin <blino@mageia.org>2011-12-04 14:39:32 +0000
commit1c2279950b3c8e5194209c01e73272b8bd74cac9 (patch)
tree08ec393f22c82cf69fc290c910710f64dc6e1c96 /scripts/start
parented52fd0aefb3b57f93f449e240d7f68ab4307eeb (diff)
downloadmandi-1c2279950b3c8e5194209c01e73272b8bd74cac9.tar
mandi-1c2279950b3c8e5194209c01e73272b8bd74cac9.tar.gz
mandi-1c2279950b3c8e5194209c01e73272b8bd74cac9.tar.bz2
mandi-1c2279950b3c8e5194209c01e73272b8bd74cac9.tar.xz
mandi-1c2279950b3c8e5194209c01e73272b8bd74cac9.zip
adapt to new ipset syntax
Diffstat (limited to 'scripts/start')
-rw-r--r--scripts/start4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/start b/scripts/start
index f14d0d1..b7377c9 100644
--- a/scripts/start
+++ b/scripts/start
@@ -1,5 +1,5 @@
iptables -N Ifw
-ipset -N ifw_wl iptree
+ipset create ifw_wl hash:ip
iptables -A Ifw -m set --match-set ifw_wl src -j RETURN
-ipset -N ifw_bl iptree --timeout 3600
+ipset create ifw_bl hash:ip --timeout 3600
iptables -A Ifw -m set --match-set ifw_bl src -j DROP