[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Port Forwarding And Virtual Sites



I've read this thread twice and I still can't see if you've got your
answer...

More inline, below...

Richard Donahue wrote:

> My question is: Can I use the RaQ4 (default site) as the DMZ host and be
> able to
> use virtual sites or is it always going to open the site that the DMZ is
> forwarded too? ie., 192.168.1.4 -> www.mydomain.com or 192.168.1.8 ->
> www.mydomain2.com

We had nothing but problems with a RaQ behind a natting router, and we
gave up on it.

It's been a while.

For example, you're browsing the Internet. You want to look at
www.mysite.com, so you type it into your browser.

Your browser checks with your computer's resolver, which checks with DNS
and determines that www.mysite.com lives at 123.45.67.8.  So it sends
the packets there.

The packets are intercepted by your router.  Your router reroutes them
(changes the header destination IP#) to 192.168.3.4 (a private address,
inside your DMZ).  So the packet gets sent to your RaQ, which is
listening to 192.168.3.4.

But your RaQ is doing name-based hosting by IP#.

So it's looking at the IP# and the name in the headers.  The RaQ has to
be set up to host the site at 192.168.3.4.

All your sites must be at 123.45.67.8 in DNS, but in your RaQ they must
be at 192.168.3.4.

Jeff
-- 
Jeff Lasman <jblists@xxxxxxxxxxxxx>
Linux and Cobalt/Sun/RaQ Consulting
nobaloney.net
P. O. Box 52672, Riverside, CA  92517
voice: (909) 778-9980  *  fax: (702) 548-9484