Subject: Re: pf(4) & NAT server through DHCP
To: Francisco Valladolid Hdez. <ficovh@yahoo.com>
From: James Hartley <jjhartley@gmail.com>
List: netbsd-users
Date: 08/25/2007 11:22:39
On 8/25/07, Francisco Valladolid Hdez. <ficovh@yahoo.com> wrote:
> --- James Hartley <jjhartley@gmail.com> wrote:
> > How does one configure pf(4) to serve as a NAT when
> > the server itself is a DHCP client?
>
> ext_if ="ex0"
> int_if ="fxp0"
>
> nat on $ext_if from !($ext_if) to any -> ($ext_if)
>
> The parenthesis indicate to pf that the Ip address is
> dinamically asigned.

Thanks!  This answers my question.

Jim