doc correction

Lowell Gilbert lgusenet at be-well.ilk.org
Tue Sep 21 17:19:23 UTC 2010


Jeremy.Spring at us.lawson.com (Spring, Jeremy) writes:

> I setup nat translation and port forwarding on my FreeBSD 8.1-RELEASE machine.  It took me a while to get this working because I had to find out by trial and error that the interface to forward packets through is NOT the interface connected to the Internet as the documentation suggests, but rather, is the interface connected to my private network.
>
> My final nat command string is:
> /sbin/natd -redirect_port tcp 10.13.55.4:3389 3389 -n em1
>
> where em0 is connected to the Internet, em1 is connected to my private network, and I want to forward incoming RDP traffic destined for my public facing IP to 10.13.55.4.  The documentation suggests that I should be using my Internet facing interface (em0), but this doesn't work.  The documentation I am looking at is at http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-natd.html.  Please let me know if you have any questions.

No, normally one *would* run natd on the external interface.  It
shouldn't matter a whole lot in the common case of a single internal and
a single external interface, but if you get more interfaces inside, you
really want to have them handled by the same process.

I don't currently have any redirect_port options to play with, but my
tech-support crystal ball tells me that the problem was probably with
how you got the packets chosen to go into natd in the first place.





More information about the freebsd-doc mailing list