From owner-freebsd-questions Wed May 30 16:24:40 2001 Delivered-To: freebsd-questions@freebsd.org Received: from opus.sandiegoca.ncr.com (tan7.ncr.com [192.127.94.7]) by hub.freebsd.org (Postfix) with ESMTP id 171AB37B423 for ; Wed, 30 May 2001 16:24:37 -0700 (PDT) (envelope-from chuckr@opus.sandiegoca.ncr.com) Received: from localhost (chuckr@localhost) by opus.sandiegoca.ncr.com (8.11.1/8.11.1) with ESMTP id f4UNReW40977; Wed, 30 May 2001 16:27:41 -0700 (PDT) (envelope-from chuckr@opus.sandiegoca.ncr.com) Date: Wed, 30 May 2001 16:27:40 -0700 (PDT) From: Chuck Rouillard To: Jason Borkowsky Cc: Subject: Re: DHCP and IPFW In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Wed, 30 May 2001, Jason Borkowsky wrote: > > Does anyone have an example of their IPFW ruleset that integrates DHCP? I > am trying to figure out the simplest, yet securest, way to do this. Thank > you! [snip] I'm guessing IP changes are central to this question. If so, configure your ruleset(s) using variables. For example: oif="ed0" iif="ed1" dns0="xxx.xxx.xxx.xxx" dns1="yyy.yyy.yyy.yyy" and possibly: dhcp0="zzz.zzz.zzz.zzz" ... Then, specify interfaces and IPs like ${oif}, ${iif}, and ${dns0} in your ruleset(s). .cr To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message