All of lore.kernel.org
 help / color / mirror / Atom feed
* iptables to redir subdomain to certain ports
@ 2007-01-13 15:34 Andras Izsof
  2007-01-13 16:11 ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Andras Izsof @ 2007-01-13 15:34 UTC (permalink / raw)
  To: netfilter

Hi,

I need to redirect certain subdomains to certain ports on the same
server and vice versa. The most important is, that the manoeuvre must
be transparent to the client, because most company firewalls only
allow www data on port 80. So if I use a dl.domain.com:81 link on my
page, then it will be inaccessible for the "firewalled ones".

So if a request comes in for www.domain.com, then I need that to be
redirected to port 80(apache), that's OK, but when dl.domain.com pops
in, then port 81(thttpd) would be the target. Can this be done with
iptables and if so how?

Long ago someone recommended an iptables package for me, which is
capable of this, but can't find anything about it :(.

Thanks
DF


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-15  4:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-13 15:34 iptables to redir subdomain to certain ports Andras Izsof
2007-01-13 16:11 ` Jan Engelhardt
2007-01-15  4:23   ` Grant Taylor

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.