two webservers, one router, multiple IP's
- From: shawn modersohn <smoder@xxxxxxxxxxxxx>
- Date: Tue, 28 Nov 2006 01:15:02 GMT
I have a dsl connection and 5 usable ip addresses. I want to set up one companyweb web server and one development web server. I want to register in DNS that companyweb.mydomain should be at x.x.x.65 while development.mydomain should be at x.x.x.66. The public ip address that my single linksys router picks up is x.x.x.70.
It is my understanding that if I register in DNS that companyweb.mydomain is at x.65 and development.mydomain is at x.66, essentially what will happen is that any of those addresses will be routed from my isp's router to my little subnet and therefore my router. I can then utilize my 5 addresses without have 5 separate dsl lines and routers each with separate wan addresses. Is this correct?
The problem then becomes how does my router know if the incoming connection is for companyweb or development. I know I could use port based forwarding, but I would rather have each web server use the standard port 80.
My network is small, so I don't really need two internal 192.168.x.x subnets. My router is only capable of picking up one public wan address. I don't have a firewall instead relying on the virtue of NAT via the router to naturally block incoming traffic.
I have briefly read that some firewall appliances can direct traffic based on the requested ip address. If I was to begin researching using a Linux firewall/proxy to do this task, would I be on the right track? Any other suggestions for me? Thanks.
.
- Follow-Ups:
- Re: two webservers, one router, multiple IP's
- From: Dale Dellutri
- Re: two webservers, one router, multiple IP's
- Prev by Date: Re: How to set default gw not by route command in linux?
- Next by Date: Re: Two routes to a host: how to make sure which noe is used when?
- Previous by thread: which log files to check for hosts.deny
- Next by thread: Re: two webservers, one router, multiple IP's
- Index(es):
Relevant Pages
|