From owner-freebsd-ipfw@FreeBSD.ORG Wed Jul 9 16:44:10 2003 Return-Path: Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A7D737B401 for ; Wed, 9 Jul 2003 16:44:10 -0700 (PDT) Received: from ns1.itga.com.au (ns1.itga.com.au [202.53.40.214]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4242343FBD for ; Wed, 9 Jul 2003 16:44:09 -0700 (PDT) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns1.itga.com.au (8.12.9/8.12.9) with ESMTP id h69NhtUl057481; Thu, 10 Jul 2003 09:43:55 +1000 (EST) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (localhost [127.0.0.1]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id JAA04684; Thu, 10 Jul 2003 09:43:55 +1000 (EST) Message-Id: <200307092343.JAA04684@lightning.itga.com.au> X-Mailer: exmh version 2.4 05/15/2001 with nmh-1.0.4 From: Gregory Bond To: Diego Linke - GAMK In-reply-to: Your message of Wed, 09 Jul 2003 18:13:08 -0300. Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 10 Jul 2003 09:43:55 +1000 Sender: gnb@itga.com.au cc: freebsd-ipfw@freebsd.org Subject: Re: I have four ideia for IPFW2 X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2003 23:44:10 -0000 > 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.