From owner-freebsd-questions Fri Jun 8 6:30:31 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ns3.tstt.net.tt (ns3.tstt.net.tt [196.3.132.3]) by hub.freebsd.org (Postfix) with SMTP id 49D8437B407 for ; Fri, 8 Jun 2001 06:30:22 -0700 (PDT) (envelope-from dchulhan@uwi.tt) Received: (qmail 49480 invoked from network); 8 Jun 2001 13:30:05 -0000 Received: from unknown (HELO uwi.tt) (209.94.222.71) by ns3.tstt.net.tt with SMTP; 8 Jun 2001 13:30:05 -0000 Message-ID: <3B20D360.67B1BEE0@uwi.tt> Date: Fri, 08 Jun 2001 09:30:08 -0400 From: Dale Chulhan - Home Organization: COSTAATT X-Mailer: Mozilla 4.76 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Server redirection based on service request. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello, I have seen it done a couple of times and I have not a clue as to how to do it. I need to redirect people's requests automatically based on the port the connection is made on ... Eg. Single public IP for mygate.co.com mygate.co.com:80 ----> Webserver1 ( static NAT, private IP ) mygate.co.com:8081---> Webserver2 ( Static NAT, private IP ) mygate.co.com:IMAP---> MailServer ( Static NAT, private IP ) mygate.co.com:SMTP---> MailServer ( Static NAT, private IP ) mygate.co.com:NNTP---> News Server ( Static NAT, private IP ) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message