Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Magic Gateway

Status
Not open for further replies.

linuxpyro

Technical User
Feb 11, 2003
38
US
I am just curious as to whether or not something like this would exist, but here's what I'm wondering about. Say a network, with the domain name domain.com has to computers acting as servers, hostx and hosty. The network is connected to the Internet through a gateway program on another computer (along with a firewall). What I am wondering about is if it would be possible to forward traffic to each of the servers using DNS, rather than ports. For example, say both hostx and hosty were running Web servers. Then they could both be accessible as hostx.domain.com and hosty.domain.com, with each host name resolving to the external IP address of the gateway. They would both use port 80, too.

Is there any program that will do this? Any ideas on how to create one for this? Sorry if this is off-topic for this forum in any way.
 
Just set up pointers on your dnsserver to point at hostx and hosty. I cant really see what your trying todo.

 
I want to have the gateway somehow forward traffic to hostx and hosty based on DNS; Both host names would point to the same IP. The gateway would then figure out to which host the traffic was destined, but it wouldn't be by port (ie, port 80 wouldn't be directed to hostx, and port 23 wouldn't be directed to hosty).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top