IPFW

Grant Peel gpeel at thenetnow.com
Wed Sep 7 06:31:50 PDT 2005


Hi all,

After pouring through the manual and manpages, I suspect the answer is now, 
but I would really love to be wrong!

Is there a way to count bytes inbound and outbound for a specific ip using 
ipfw in a SINGLE RULE?

10000 count ip from 192.168.1.2 OR to 192.168.1.2 via em0

I know that above won't work, but hopefully it gets the question accoss!

To the dev guys, how about adding a 'through' or 'both' keyword!

example:

10000 count ip through 192.168.1.2 via em0

or

10000 count ip 192.168.1.2 both via em0

-Grant 




More information about the freebsd-questions mailing list