referencing a dynamic external IP with pf

max max at neuropunks.org
Fri Jul 29 14:53:40 GMT 2005


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
> 


More information about the freebsd-pf mailing list