(E-Mail Removed)lid (David Schwartz) writes:
>"Jim Johnston" <(E-Mail Removed)> wrote in message
>news:cTjkf.325$(E-Mail Removed)...
>> I have one static IP with my DSL ISP (Frontier). Due to having to
>upgrade
>> DSL modem/router in order to "help" Frontier make a circuitry
>upgrade to
>> their system I lost some functionality in my router (I had to take
>out of
>> service a 3com 812). The feature that I liked in the 812 was a
>built in
>> DNS server that allowed me to route different domains to different
>in-house
>> IPs on my internal LAN.
>>
>> Now that I have this new modem/router, it does not have the internal
>DNS
>> server. Currently I am mapping all traffic to my main server
>running Red
>> Hat 9 (inhouse IP 192.168.200.40). I want to be able to route some
>web
>> traffic to another box (let's call it .41), but I don't want to
>route mail
>> traffic from .40 for that domain. (I could, but I don't want to.)
>How
>> can I set up DNS (or apache virtual hosts for that matter) to do
>this?
>> I'm not finding any HOW-TO's or the like that help me. In a perfect
>> world, I'd want to route http and ftp and/or SSH to the new box.
>Mail
>> could be left on the original server. Another part to this would
>be,
>> could I run the DNS routing on the original box (.40) or would I
>have to
>> add another box in between my modem and the internal net?
>>
> I'm confused. What does DNS have to do with anything? This sounds
>like
>port forwarding.
Agreed. Your system has a single external IP address, let me say it is
11.22.33.44
You want a connection from the outside world coming to 11.22.33.44:25 to be
directed internally to 192.168.1.40, but a connection from the outside
coming to 11.22.33.44:80 you want directed to 192.168.1.41:80
Is this what you want?
That is port forwarding.
And many routers are capable of port forwarding.
This has nothing to do with dns. In fact dns would be useless. they would
look up the number 192.169.0.41 say, but that cannot be routed outside your
network.
Now, there is also the issue internally. You can just use the hosts file
instead of setting up a whole internal dns, unless you have a hundred or
more computers internally.
One point is that your ISP is highly likely to, without warning, filter out
all port 25 or port 80 incoming traffic. (incoming email and http are too "dangerous")