On Sunday 21 September 2003 3:45 pm, Cody Harris wrote:
> I was told by the iptables people that squid would allow me to route
> incoming hostnames to ips on my network. Here's now i'm setup:
>
> INTERNET -> Router ------------> Computer One (bagle.foo.com)
>
> +----> Computer Two (mail.foo.com)
>
> +----> Computer Three (foo.com)
>
> How do i set up my router to take all incoming requests to reach subdoman
> and forward them to the right computer?
This sounds more like a DNS question to me.
IPtables / netfilter will certainly not help with this, as that simply blocks
some packets which would otherwise have been routed - I like to regard
netfilter as "a router which can say no".
The question I would ask about what you want to do is "what high-level
protocols are you trying to do this for?" ie http, ftp, smtp, pop3...?
If you are only talking about http, then Squid + redirects may be to answer.
If not (and perhaps even if you are), then DNS is probably the answer.
Regards,
Antony.
-- "John Major" and "Cher" are as much abstractions as "the national debt" or "the state of Welsh rugby". - Guy Claxton, Hare Brain, Tortoise MindReceived on Sun Sep 21 2003 - 08:57:18 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:19:58 MST