From owner-freebsd-questions Thu Jan 3 20:34: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from creme-brulee.marcuscom.com (rdu57-28-046.nc.rr.com [66.57.28.46]) by hub.freebsd.org (Postfix) with ESMTP id 62BD037B416 for ; Thu, 3 Jan 2002 20:33:54 -0800 (PST) Received: from shumai.marcuscom.com (marcus@shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.11.6/8.11.6) with ESMTP id g044XJv29774; Thu, 3 Jan 2002 23:33:19 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: DHCP & ipfw From: Joe Clarke To: "Stephen J. Roznowski" Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <200201040422.g044M5641882@cc158233-a.catv1.md.home.com> References: <200201040422.g044M5641882@cc158233-a.catv1.md.home.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Evolution/1.0 (Preview Release) Date: 03 Jan 2002 23:33:59 -0500 Message-Id: <1010118840.86152.53.camel@shumai.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 2002-01-03 at 23:22, Stephen J. Roznowski wrote: > I'm sure that I'm missing something obvious.... > > When you are setting up a system to use DHCP, how do you get the > (possibly) dynamic IP information into rc.firewall (or equivalent local > script)? You can use the "me" option in rc.firewall ${fwcmd} add pass tcp from any to me 22 setup This will match any IP address configured on an interface in the system. Joe > > Thanks, > -- > Stephen J. Roznowski (sjr@home.com) > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message