Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Dec 2003 09:44:25 +0300
From:      Lev Klimin <levanty@mari-el.ru>
To:        freebsd-questions@freebsd.org
Subject:   ipfw2
Message-ID:  <18400343353.20031223094425@mari-el.ru>

next in thread | raw e-mail | index | archive | help
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 ã.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18400343353.20031223094425>