IPFW2 matching a list/set of interfaces
Luigi Rizzo
rizzo at icir.org
Thu Nov 11 07:14:39 PST 2004
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
More information about the freebsd-net
mailing list