Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Dec 2003 15:24:24 +0000
From:      Josh Paetzel <friar_josh@tcbug.org>
To:        Robert Deuerling <deuerl@new-wen.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to forward ports to different machines
Message-ID:  <20031221152424.GB21954@ns1.tcbug.org>
In-Reply-To: <1072033322.3fe5ee2ab1e6f@webmail.new-wen.net>
References:  <1072033322.3fe5ee2ab1e6f@webmail.new-wen.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Dec 21, 2003 at 08:02:02PM +0100, Robert Deuerling wrote:
> Hello,
> 
> 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?
> 
> -Robert
> 

Look at -redirect_port in the natd manpage

Josh Paetzel



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031221152424.GB21954>