Subject: Re: pf(4) & NAT server through DHCP?
To: James Hartley <email@example.com>
From: Francisco Valladolid Hdez. <firstname.lastname@example.org>
Date: 08/25/2007 11:11:37
--- James Hartley <email@example.com> wrote:
> How does one configure pf(4) to serve as a NAT when
> the server itself
> is a DHCP client?
Let me unsertand you question.
The machine serving NAT get the IP from a DHCP server
No problem, with pf(4) you can define the internal and
external interface such as:
if you want nat with a ip addres get from a dhcp
server, you only need add :
nat on $ext_if from !($ext_if) to any -> ($ext_if)
The parenthesis indicate to pf that the Ip address is
Therefore, if anyone is in Christ, he is a new creation; the old has gone, the new has come! - 2 Corinthians 5:17 (NIV)
Francisco Valladolid Hdez.
http://blog.bsdguy.net - http://flickr.com/photos/sigueme/
Got a little couch potato?
Check out fun summer activities for kids.