Date: Thu, 10 Jul 2003 03:58:24 +0400 From: "Alex S. Burba" <burba@okbmei.ru> To: Gregory Bond <gnb@itga.com.au> Cc: Diego Linke - GAMK <linke@calnet.com.br> Subject: Re: I have four ideia for IPFW2 Message-ID: <3F0CAC20.7070206@okbmei.ru> References: <200307092343.JAA04684@lightning.itga.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Gregory Bond wrote: >>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. > Ya, that's right.:) The power of ipfw in its simplicity.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F0CAC20.7070206>