From 1c2279950b3c8e5194209c01e73272b8bd74cac9 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sun, 4 Dec 2011 14:39:32 +0000 Subject: adapt to new ipset syntax --- scripts/start | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') 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 -- cgit v1.2.1