how to forward ports to different machines
friar_josh at tcbug.org
Sun Dec 21 13:24:57 PST 2003
On Sun, Dec 21, 2003 at 08:02:02PM +0100, Robert Deuerling wrote:
> i have a router running nat on interface xl1 and i want to do the following:
> 1.) ports 25 and 22 have to go to the router itself.
> 2.) only Ports 80 and 20/21 have to go to another machine.
> How can i manage this?
> Only trying to configure nat does not the job.
> My second thought is to run separate nat processes, fed by different
> ipfw rules.
> Any better suggestions?
Look at -redirect_port in the natd manpage
More information about the freebsd-questions