LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   inbound traffic routing (https://www.linuxquestions.org/questions/linux-networking-3/inbound-traffic-routing-292733/)

beowulfde 02-20-2005 04:33 PM

inbound traffic routing
 
okay.. here's a fun one...

I am trying to determine if it's possible to do the following:

I have one Internet Accessible IP address. Inbound traffic flows to that IP address and into a linux firewall system. The linux box would then route the traffic to servers in my network based upon domain name information. So... simply...

inbound traffic for website1.com would route to 192.168.1.10
inbound traffic for website2.com would route to 192.168.1.20
...

why? In short I want to use multiple web hosting platforms without getting into port mapping.

Thanks for pointing me in the right direction!!!

--beo

DoubleOTeC 02-20-2005 04:41 PM

From my understanding, this isn't possible on an IP or TCP level.

The hostname recognition you require only happens or works with the HTTP protocol itself and the firewall won't be able to handle that. I hope that was understandable.

You may be able to (not at all sure) run apache on the firewall and use virtual hosting to get it to redirect to other internal servers.

Hope that helps....

Let me know...

beowulfde 02-20-2005 04:47 PM

let me be a little more clear...
 
the two web servers behind the firewall are running two different HTTP servers. So, one Apache server and one Lotus Domino server. Whatever "router/gateway" implmented needs to be able to tunnel to the other HTTP servers.

I'm looking into the virtual hosting...

I had this working in a former life running Raptor as the firewall. There was a very simple table of domain names and their corresponding IPs behind the firewall. When traffic was received requesting information for a particular domain, it would route it to the appropriate server.

Thanks!!!
--beo


All times are GMT -5. The time now is 12:01 AM.