make sure you have IP forwarding setup in your /etc/sysctl.conf

Nat is pretty easy in pf once forwarding is setup

nat on $EXTERNALINTERFACE inet from $INTERNELNETWORK to any -> $EXTERNALINTERFACE

where $EXTERNALINTERFACE and $INTERNALNETWORK is your interface settings.


James


----- Original Message ----- From: "a.padilla" <[EMAIL PROTECTED]>
To: <misc@openbsd.org>
Sent: Thursday, October 04, 2007 12:11 PM
Subject: pf


Hi, I'm a student trying to learn pf on my own. I'm trying to set up a nat. I've read documentation yet I still can't get the internal machine to communicate to the outside world.

I've been following this documentation: http://www.openbsd.org/faq/pf/ nat.html

before I go any further, is this the correct place to ask this sort of question?

Reply via email to