On Fri, 12 Jan 2001, "Thomas M. Albright" <[EMAIL PROTECTED]> wrote:
> 
> Using ipchains I can block all addresses *not* from a partial Class C by
> saying:
> /sbin/ipchains -I input -s ! XXX.XXX.XX.X/25 -j DENY
> 
> Can I do the same with ipfwadm? (The man page says nothing.)

Why not do it in two rules. First allow the subnet in (with -a accept),
then add a 2nd rule denying everything (e.g. -I -a deny -S 0.0.0.0/0)

Karl


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to