Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Nov 2004 07:14:16 -0800
From:      Luigi Rizzo <rizzo@icir.org>
To:        Anthony Volodkin <anthonyv@brainlink.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: IPFW2 matching a list/set of interfaces
Message-ID:  <20041111071416.A90040@xorpc.icir.org>
In-Reply-To: <20041111025930.U82349@superior.local.non-standard.net>; from anthonyv@brainlink.com on Thu, Nov 11, 2004 at 03:05:36AM -0500
References:  <20041111025930.U82349@superior.local.non-standard.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 11, 2004 at 03:05:36AM -0500, Anthony Volodkin wrote:
> Hi,
> 
> I've been trying to implement some ipfw rules that would match several
> interfaces using the recv/via/xmit keywords, however that seems to be
> unsupported.  So a rule like:
> 
> ipfw add allow ip from any to 192.168.100.100 via {fxp0,ng0,xl0}
> 
> fails with an invalid ) error.  Alternatively if I use an or block, i
> get an error about an invalid or block.

or blocks are supported with any option
 so chances are that you are using the
wrong syntax (which is _not_ the one above)
to specify them. If you post the offending line
maybe we can spot the problem

cheers
luigi



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