From owner-freebsd-questions@FreeBSD.ORG Thu Aug 21 19:38:41 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4ECFD16A4BF for ; Thu, 21 Aug 2003 19:38:41 -0700 (PDT) Received: from smtp2.knology.net (smtp2.knology.net [24.214.63.14]) by mx1.FreeBSD.org (Postfix) with SMTP id 600F343FCB for ; Thu, 21 Aug 2003 19:38:40 -0700 (PDT) (envelope-from dkelly@HiWAAY.net) Received: (qmail 20703 invoked from network); 22 Aug 2003 02:38:39 -0000 Received: from unknown (HELO user-24-214-34-52.knology.net) (24.214.34.52) by smtp2.knology.net with SMTP; 22 Aug 2003 02:38:39 -0000 From: David Kelly To: FreeBSD-Questions@FreeBSD.org Date: Thu, 21 Aug 2003 21:38:38 -0500 User-Agent: KMail/1.5.3 References: <20030821211755.096b57e2.rod.person@hotpop.com> In-Reply-To: <20030821211755.096b57e2.rod.person@hotpop.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200308212138.38818.dkelly@HiWAAY.net> Subject: Re: Help setup home network when gateways, ip asigned by DHCP X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Aug 2003 02:38:41 -0000 On Thursday 21 August 2003 08:17 pm, Rod Person wrote: > > My problem is that my gateway get its external ip address via DHCP. > I can't figure out how to setup ipfw rules to use DHCP addresses. Use either the "me" pseudo-address or trigger on the interface. A few rules copied out of my current ipfw configuration: 00600 allow tcp from me to any setup 01400 allow udp from me to any dst-port 53 keep-state 01500 allow udp from me to any dst-port 123 keep-state 01600 allow udp from 69.1.30.0/24 67 to me dst-port 68 01700 allow udp from me 68 to 69.1.30.0/24 dst-port 67 -- David Kelly N4HHE, dkelly@hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system.