Date: Tue, 23 Dec 2003 08:51:57 -0500 From: "Lee Dilkie" <lee@dilkie.com> To: "'Lev Klimin'" <levanty@mari-el.ru>, <freebsd-questions@freebsd.org> Subject: RE: ipfw2 Message-ID: <006a01c3c95b$f02884a0$c10133ce@dilkie.com> In-Reply-To: <18400343353.20031223094425@mari-el.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
> >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 What are you trying to do/say? 192.168.1.1/24{3,5,9} translates to 192.168.1.1/243, 192.168.1.1/245 or 192.168.1.1/249. All of which are illegal, /xx cannot exceed 32 in value (32 bits to a IPv4 internet address). Hence the "bad width" error message. -lee
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006a01c3c95b$f02884a0$c10133ce>