Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Oct 2006 08:20:35 -0700
From:      Joe <js.lists@gmail.com>
To:        Erik Norgaard <norgaard@locolomo.org>
Cc:        Martin Turgeon <turgeon.martin@gmail.com>, freebsd-pf@freebsd.org, freebsd-bugs@freebsd.org, freebsd-questions@freebsd.org
Subject:   Re: Routing with external interface doesn't work after a while
Message-ID:  <45364643.7010103@gmail.com>
In-Reply-To: <45363A6A.4040607@locolomo.org>
References:  <0J7C00A3541CUN90@VL-MH-MR001.ip.videotron.ca> <45363A6A.4040607@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Erik Norgaard wrote:
> There is some trick to handle that, IIRC something like this would do:
> 
> ext_if=fxp0 # external interface
> nat on $ext_if from <lan>  to !<lan> -> ($ext_if)
> 
> The () means that pf will lookup the ip on that interface, and update 
> dynamically when the ip changes.
>
That is correct.



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