ipfw2

Lev Klimin levanty at mari-el.ru
Mon Dec 22 22:47:35 PST 2003


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 at mari-el.ru
(8362) 42-15-49
19:37:26 22 DEC 2003 г.



More information about the freebsd-questions mailing list