From owner-freebsd-questions Thu Jun 13 13:51: 1 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wellington.cnchost.com (wellington.concentric.net [207.155.252.14]) by hub.freebsd.org (Postfix) with ESMTP id 202D237B419 for ; Thu, 13 Jun 2002 13:50:58 -0700 (PDT) Received: from win98 ([208.176.51.227]) by wellington.cnchost.com id QAA29277; Thu, 13 Jun 2002 16:46:16 -0400 (EDT) [ConcentricHost SMTP Relay 1.14] From: "Raja Velu" To: "'Nick Rogness'" Cc: Subject: RE: Port re-direction using NAT/IPFW Date: Thu, 13 Jun 2002 15:44:02 -0500 Message-ID: <000201c2131b$0e1cac00$1d00a8c0@www.micronetusa.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal 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 > > Hi All, > > > > We have a FreeBSD 4.4 setup running IPFW/NAT. We host web sites for > > several domains using Apache's virtual domain feature. We use Apache > > 1.3.20. > > > > One of our customers has web content that includes Microsoft's ASP > > pages, for which we need to host them on a Windows server. We have a > > Windows 2000 Server behind our firewall, which can probably do the > > hosting. > > > > My question is this: Can I re-direct requests for this > particular site > > alone to the Windows 2000 box sitting inside and continue to service > > requests for other web sites from the FreeBSD box? I know it's > > probably possible to do this if the site we're hosting on the Win2k > > server uses a port other than 80. Is that the only option though? > > > > Not unless it is on a different port (not 80) or has a different > public IP in which you can translate. Although, there may be a > way through apache to handle something like > this...maybe with the > ReWrite Engine or some other facility. I think I'll take your first suggestion. So, if I use a different public IP, I guess I'll have to run 2 instances of NAT. Can I do this using a virtual IP as my second public IP or do I have to put another network card in my box? I tried running a second instance of NAT on my virtual public IP and it came back with this error: # /sbin/natd -f /etc/natd2.conf -p 8669 -n xl0:0 natd: unknown interface name xl0:0 Is there any way I can get around this??? Thanks for your help. Rgds, Raja To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message