From owner-freebsd-pf@FreeBSD.ORG Fri Jul 29 14:53:40 2005 Return-Path: X-Original-To: freebsd-pf@freebsd.org Delivered-To: freebsd-pf@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8E83A16A41F for ; Fri, 29 Jul 2005 14:53:40 +0000 (GMT) (envelope-from max@neuropunks.org) Received: from finn.neuropunks.org (neuropunks.org [38.117.144.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4613443D49 for ; Fri, 29 Jul 2005 14:53:39 +0000 (GMT) (envelope-from max@neuropunks.org) Received: from localhost (localhost [127.0.0.1]) by finn.neuropunks.org (Postfix) with ESMTP id 5E6C035; Fri, 29 Jul 2005 09:53:29 -0500 (EST) Received: from finn.neuropunks.org ([127.0.0.1]) by localhost (finn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 56475-08; Fri, 29 Jul 2005 09:53:27 -0500 (EST) Received: by finn.neuropunks.org (Postfix, from userid 1001) id 5A5D726; Fri, 29 Jul 2005 09:53:27 -0500 (EST) Date: Fri, 29 Jul 2005 09:53:27 -0500 From: max To: dave Message-ID: <20050729145327.GA22219@neuropunks.org> References: <000701c5944c$3af95010$0200a8c0@satellite> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000701c5944c$3af95010$0200a8c0@satellite> User-Agent: Mutt/1.4.2.1i Cc: freebsd-pf@freebsd.org Subject: Re: referencing a dynamic external IP with pf X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 14:53:40 -0000 ext="hme1" nat on $ext from $local_net/24 to any -> ($ext) ($ext) refers to the actual interface, such as hme1 in my case, and will not care about the ip. On Fri, Jul 29, 2005 at 10:45:57AM -0400, dave wrote: > Hello, > I've got an IP via dhcp for my external nic, which changes periodically. > I've got a macro with it hard coded, but everytime it changes i have to > update it. I was wondering if there was a better way? > Thanks. > Dave. > > _______________________________________________ > freebsd-pf@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" >