Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2003 09:43:55 +1000
From:      Gregory Bond <gnb@itga.com.au>
To:        Diego Linke - GAMK <linke@calnet.com.br>
Cc:        freebsd-ipfw@freebsd.org
Subject:   Re: I have four ideia for IPFW2 
Message-ID:  <200307092343.JAA04684@lightning.itga.com.au>
In-Reply-To: Your message of Wed, 09 Jul 2003 18:13:08 -0300.

next in thread | raw e-mail | index | archive | help
> My idea is an keyword specific for each interface. 
> Sample:
> ipfw add allow ip from any to me_xl0 via xl0

This is easy to do with a little bit of shell hacking in rc.firewall
	me_xl0=`ifconfig xl0 | awk '/inet /{ print $2;}'`

Ditto for net_xl0.



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