how to forward ports to different machines

2003-12-21 Thread Robert Deuerling
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



-
Dieser Mailservice wurde durch das Bürgernetz 
Neustadt-Weiden zur Verfügung gestellt
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to forward ports to different machines

2003-12-21 Thread Josh Paetzel
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

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to forward ports to different machines

2003-12-21 Thread Ron Sweeney

I guess a cheap way out of this is to nohup the bounce utility in ports.

I only mention it, because it is one of my 5 top binaries :)

On Sun, 21 Dec 2003, Josh Paetzel wrote:

 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

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]