From owner-freebsd-questions@FreeBSD.ORG Mon Dec 22 22:47:35 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDEEC16A4CE for ; Mon, 22 Dec 2003 22:47:35 -0800 (PST) Received: from garbage.relinfo.ru (garbage.relinfo.ru [195.161.208.151]) by mx1.FreeBSD.org (Postfix) with ESMTP id 75A2C43D4C for ; Mon, 22 Dec 2003 22:47:34 -0800 (PST) (envelope-from levanty@mari-el.ru) Received: from lion.relinfo.ru ([195.161.208.133]) by garbage.relinfo.ru with esmtp (Exim 4.10) id 1AYgOD-00005K-00 for freebsd-questions@freebsd.org; Tue, 23 Dec 2003 09:51:33 +0300 Date: Tue, 23 Dec 2003 09:44:25 +0300 From: Lev Klimin X-Mailer: The Bat! (v1.61) Organization: VolgaTelecom X-Priority: 3 (Normal) Message-ID: <18400343353.20031223094425@mari-el.ru> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=Windows-1251 Content-Transfer-Encoding: 8bit Subject: ipfw2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Lev Klimin List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Dec 2003 06:47:35 -0000 Good morning! I have 4.9-release. I'm interesting ipfw2. I have builded /usr/src/lib/libalias and /usr/src/sbin/ipfw with -DIPFW2, kernet with option IPFW2. >From man ipfw --- src and dst: {addr | { addr or ... }} [[not] ports] addr: [not] {any | me | addr-list | addr-set} addr-set: addr[/masklen]{list} list: {num | num-num}[,list] --- I think that it's right: ipfw 1000 add permit all from 192.168.1.1/24{3,5,9} to any but I see follwing: ipfw: bad width ``243'' If I do: ipfw 10005 add permit all from 192.168.1.3,192.168.1.5,192.168.1.9 to any then 10005 allow ip from 192.168.1.3,192.168.1.5,192.168.1.9 to any Can you help me? Thank you. -- Lev Klimin mailto:levanty@mari-el.ru (8362) 42-15-49 19:37:26 22 DEC 2003 ã.