ipfw rule question ... all possible interfaces ?

Ian Smith smithi at nimnet.asn.au
Mon Nov 5 00:30:28 PST 2007


On Mon, 5 Nov 2007 00:22:00 +0000 RW <fbsd06 at mlists.homeunix.com> wrote:
 > On Sun, 4 Nov 2007 16:10:12 -0800 (PST)
 > Juri Mianovich <juri_mian at yahoo.com> wrote:
 > 
 > > 
 > > Is there a way to tell ipfw:
 > > 
 > > "all interfaces currently configured on this system" ?
 > > 
 > >...
 > > 
 > > So if I have a rule like:
 > > 
 > > allow ip from any to any via iwi0
 > >
 > 
 > You don't have to use "via" in a rule.

That's true, though you can also specify 'via any'.  Whether either is
actually a good idea for the case in question may be another matter .. 

Cheers, Ian



More information about the freebsd-questions mailing list