Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jul 2005 09:53:27 -0500
From:      max <max@neuropunks.org>
To:        dave <dmehler26@woh.rr.com>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: referencing a dynamic external IP with pf
Message-ID:  <20050729145327.GA22219@neuropunks.org>
In-Reply-To: <000701c5944c$3af95010$0200a8c0@satellite>
References:  <000701c5944c$3af95010$0200a8c0@satellite>

next in thread | previous in thread | raw e-mail | index | archive | help
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"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050729145327.GA22219>