* Re: Hostname Routing
@ 2003-09-07 18:41 Cody Harris
2003-09-08 11:14 ` Ralf Spenneberg
0 siblings, 1 reply; 10+ messages in thread
From: Cody Harris @ 2003-09-07 18:41 UTC (permalink / raw)
To: netfilter, netfilter-request
Oops, forgot to add my message.
This DOES not work (adding the line to /etc/hosts)
---------- Forwarded Message ----------
Subject: Re: Hostname Routing
Date: Sunday 07 September 2003 3:39 pm
From: Cody Harris <hchs@ns.sympatico.ca>
To: netfilter@lists.netfilter.org
On Sunday 07 September 2003 6:11 am, Ralf Spenneberg wrote:
> Am Son, 2003-09-07 um 01.53 schrieb Cody Harris:
> > Hello. I have researched your database on this subject (hostname
> > routing), but found nothing much. What i want is to take domain.com:* and
> > deliver that to the local machine (127.0.0.1), but i want
> > alt.domain.com:* to go to 192.0.0.2. How is this done?
>
> Am I missing something?
> What about the following in /etc/hosts:
> 127.0.0.1 localhost localhost.localdomain domain.com
> 192.0.0.2 alt.domain.com
>
> Or do it on you DNS server.
>
> Cheers,
>
> Ralf
-------------------------------------------------------
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Hostname Routing
2003-09-07 18:41 Hostname Routing Cody Harris
@ 2003-09-08 11:14 ` Ralf Spenneberg
2003-09-10 0:00 ` Cody Harris
0 siblings, 1 reply; 10+ messages in thread
From: Ralf Spenneberg @ 2003-09-08 11:14 UTC (permalink / raw)
To: Cody Harris; +Cc: Netfilter, netfilter-request
Am Son, 2003-09-07 um 20.41 schrieb Cody Harris:
> Oops, forgot to add my message.
>
> This DOES not work (adding the line to /etc/hosts)
Ok.
Where do your requests come from? From the outside?
Then you need to update your DNS, so everybody else uses the correct IP
addresses. If you can't do that, you need a name-aware proxy for every
service you want.
Cheers,
Ralf
>
> ---------- Forwarded Message ----------
>
> Subject: Re: Hostname Routing
> Date: Sunday 07 September 2003 3:39 pm
> From: Cody Harris <hchs@ns.sympatico.ca>
> To: netfilter@lists.netfilter.org
>
> On Sunday 07 September 2003 6:11 am, Ralf Spenneberg wrote:
> > Am Son, 2003-09-07 um 01.53 schrieb Cody Harris:
> > > Hello. I have researched your database on this subject (hostname
> > > routing), but found nothing much. What i want is to take domain.com:* and
> > > deliver that to the local machine (127.0.0.1), but i want
> > > alt.domain.com:* to go to 192.0.0.2. How is this done?
> >
> > Am I missing something?
> > What about the following in /etc/hosts:
> > 127.0.0.1 localhost localhost.localdomain domain.com
> > 192.0.0.2 alt.domain.com
> >
> > Or do it on you DNS server.
> >
> > Cheers,
> >
> > Ralf
>
> -------------------------------------------------------
--
Ralf Spenneberg
RHCE, RHCX
Book: Intrusion Detection für Linux Server http://www.spenneberg.com
IPsec-Howto http://www.ipsec-howto.org
Honeynet Project Mirror: http://honeynet.spenneberg.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Hostname Routing
2003-09-08 11:14 ` Ralf Spenneberg
@ 2003-09-10 0:00 ` Cody Harris
0 siblings, 0 replies; 10+ messages in thread
From: Cody Harris @ 2003-09-10 0:00 UTC (permalink / raw)
To: netfilter
On Monday 08 September 2003 8:14 am, Ralf Spenneberg wrote:
> Am Son, 2003-09-07 um 20.41 schrieb Cody Harris:
> > Oops, forgot to add my message.
> >
> > This DOES not work (adding the line to /etc/hosts)
>
> Ok.
> Where do your requests come from? From the outside?
> Then you need to update your DNS, so everybody else uses the correct IP
> addresses. If you can't do that, you need a name-aware proxy for every
> service you want.
Yes. They all come from outside. Will squid work?
>
> Cheers,
>
> Ralf
>
> > ---------- Forwarded Message ----------
> >
> > Subject: Re: Hostname Routing
> > Date: Sunday 07 September 2003 3:39 pm
> > From: Cody Harris <hchs@ns.sympatico.ca>
> > To: netfilter@lists.netfilter.org
> >
> > On Sunday 07 September 2003 6:11 am, Ralf Spenneberg wrote:
> > > Am Son, 2003-09-07 um 01.53 schrieb Cody Harris:
> > > > Hello. I have researched your database on this subject (hostname
> > > > routing), but found nothing much. What i want is to take domain.com:*
> > > > and deliver that to the local machine (127.0.0.1), but i want
> > > > alt.domain.com:* to go to 192.0.0.2. How is this done?
> > >
> > > Am I missing something?
> > > What about the following in /etc/hosts:
> > > 127.0.0.1 localhost localhost.localdomain domain.com
> > > 192.0.0.2 alt.domain.com
> > >
> > > Or do it on you DNS server.
> > >
> > > Cheers,
> > >
> > > Ralf
> >
> > -------------------------------------------------------
^ permalink raw reply [flat|nested] 10+ messages in thread
* Hostname Routing
@ 2003-09-06 23:53 Cody Harris
2003-09-07 1:13 ` Alistair Tonner
2003-09-07 9:11 ` Ralf Spenneberg
0 siblings, 2 replies; 10+ messages in thread
From: Cody Harris @ 2003-09-06 23:53 UTC (permalink / raw)
To: netfilter
Hello. I have researched your database on this subject (hostname routing), but
found nothing much. What i want is to take domain.com:* and deliver that to
the local machine (127.0.0.1), but i want alt.domain.com:* to go to
192.0.0.2. How is this done?
-Cody
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Hostname Routing
2003-09-06 23:53 Cody Harris
@ 2003-09-07 1:13 ` Alistair Tonner
2003-09-07 1:16 ` Cody Harris
2003-09-07 9:11 ` Ralf Spenneberg
1 sibling, 1 reply; 10+ messages in thread
From: Alistair Tonner @ 2003-09-07 1:13 UTC (permalink / raw)
To: Cody Harris, netfilter
Not in IPTABLES.
Use apache.
On September 6, 2003 07:53 pm, Cody Harris wrote:
> Hello. I have researched your database on this subject (hostname routing),
> but found nothing much. What i want is to take domain.com:* and deliver
> that to the local machine (127.0.0.1), but i want alt.domain.com:* to go to
> 192.0.0.2. How is this done?
>
> -Cody
--
Alistair Tonner
nerdnet.ca
Senior Systems Analyst - RSS
Any sufficiently advanced technology will have the appearance of magic.
Lets get magical!
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Hostname Routing
2003-09-07 1:13 ` Alistair Tonner
@ 2003-09-07 1:16 ` Cody Harris
2003-09-07 1:29 ` Alistair Tonner
0 siblings, 1 reply; 10+ messages in thread
From: Cody Harris @ 2003-09-07 1:16 UTC (permalink / raw)
To: Alistair, netfilter
It's 2 different computers. How will that work?
On Saturday 06 September 2003 10:13 pm, you wrote:
> Not in IPTABLES.
> Use apache.
>
> On September 6, 2003 07:53 pm, Cody Harris wrote:
> > Hello. I have researched your database on this subject (hostname
> > routing), but found nothing much. What i want is to take domain.com:* and
> > deliver that to the local machine (127.0.0.1), but i want
> > alt.domain.com:* to go to 192.0.0.2. How is this done?
> >
> > -Cody
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Hostname Routing
2003-09-07 1:16 ` Cody Harris
@ 2003-09-07 1:29 ` Alistair Tonner
2003-09-07 1:31 ` Cody Harris
0 siblings, 1 reply; 10+ messages in thread
From: Alistair Tonner @ 2003-09-07 1:29 UTC (permalink / raw)
To: Cody Harris, netfilter
Apache reverse proxy
From Apache's website .....:
A reverse proxy, by contrast, appears to the client just like an ordinary web
server. No special configuration on the client is necessary. The client makes
ordinary requests for content in the name-space of the reverse proxy. The
reverse proxy then decides where to send those requests, and returns the
content as if it was itself the origin.
A typical usage of a reverse proxy is to provide Internet users access to a
server that is behind a firewall. Reverse proxies can also be used to balance
load among several back-end servers, or to provide caching for a slower
back-end server. In addition, reverse proxies can be used simply to bring
several servers into the same URL space.
A reverse proxy is activated using the ProxyPass directive or the [P] flag to
the RewriteRule directive. It is not necessary to turn ProxyRequests on in
order to configure a reverse proxy.
On September 6, 2003 09:16 pm, Cody Harris wrote:
> It's 2 different computers. How will that work?
>
> On Saturday 06 September 2003 10:13 pm, you wrote:
> > Not in IPTABLES.
> > Use apache.
> >
> > On September 6, 2003 07:53 pm, Cody Harris wrote:
> > > Hello. I have researched your database on this subject (hostname
> > > routing), but found nothing much. What i want is to take domain.com:*
> > > and deliver that to the local machine (127.0.0.1), but i want
> > > alt.domain.com:* to go to 192.0.0.2. How is this done?
> > >
> > > -Cody
--
Alistair Tonner
nerdnet.ca
Senior Systems Analyst - RSS
Any sufficiently advanced technology will have the appearance of magic.
Lets get magical!
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Hostname Routing
2003-09-07 1:29 ` Alistair Tonner
@ 2003-09-07 1:31 ` Cody Harris
0 siblings, 0 replies; 10+ messages in thread
From: Cody Harris @ 2003-09-07 1:31 UTC (permalink / raw)
To: Alistair, netfilter
Ok, that's apache, how about my webmin, Postfix, CUCIPOP, MySQL and proftpd?
On Saturday 06 September 2003 10:29 pm, you wrote:
> Apache reverse proxy
>
> From Apache's website .....:
> A reverse proxy, by contrast, appears to the client just like an ordinary
> web server. No special configuration on the client is necessary. The client
> makes ordinary requests for content in the name-space of the reverse proxy.
> The reverse proxy then decides where to send those requests, and returns
> the content as if it was itself the origin.
>
> A typical usage of a reverse proxy is to provide Internet users access to a
> server that is behind a firewall. Reverse proxies can also be used to
> balance load among several back-end servers, or to provide caching for a
> slower back-end server. In addition, reverse proxies can be used simply to
> bring several servers into the same URL space.
>
> A reverse proxy is activated using the ProxyPass directive or the [P] flag
> to the RewriteRule directive. It is not necessary to turn ProxyRequests on
> in order to configure a reverse proxy.
>
> On September 6, 2003 09:16 pm, Cody Harris wrote:
> > It's 2 different computers. How will that work?
> >
> > On Saturday 06 September 2003 10:13 pm, you wrote:
> > > Not in IPTABLES.
> > > Use apache.
> > >
> > > On September 6, 2003 07:53 pm, Cody Harris wrote:
> > > > Hello. I have researched your database on this subject (hostname
> > > > routing), but found nothing much. What i want is to take domain.com:*
> > > > and deliver that to the local machine (127.0.0.1), but i want
> > > > alt.domain.com:* to go to 192.0.0.2. How is this done?
> > > >
> > > > -Cody
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Hostname Routing
2003-09-06 23:53 Cody Harris
2003-09-07 1:13 ` Alistair Tonner
@ 2003-09-07 9:11 ` Ralf Spenneberg
2003-09-07 18:39 ` Cody Harris
1 sibling, 1 reply; 10+ messages in thread
From: Ralf Spenneberg @ 2003-09-07 9:11 UTC (permalink / raw)
To: Cody Harris; +Cc: Netfilter
Am Son, 2003-09-07 um 01.53 schrieb Cody Harris:
> Hello. I have researched your database on this subject (hostname routing), but
> found nothing much. What i want is to take domain.com:* and deliver that to
> the local machine (127.0.0.1), but i want alt.domain.com:* to go to
> 192.0.0.2. How is this done?
Am I missing something?
What about the following in /etc/hosts:
127.0.0.1 localhost localhost.localdomain domain.com
192.0.0.2 alt.domain.com
Or do it on you DNS server.
Cheers,
Ralf
--
Ralf Spenneberg
RHCE, RHCX
Book: Intrusion Detection für Linux Server http://www.spenneberg.com
IPsec-Howto http://www.ipsec-howto.org
Honeynet Project Mirror: http://honeynet.spenneberg.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Hostname Routing
2003-09-07 9:11 ` Ralf Spenneberg
@ 2003-09-07 18:39 ` Cody Harris
0 siblings, 0 replies; 10+ messages in thread
From: Cody Harris @ 2003-09-07 18:39 UTC (permalink / raw)
To: netfilter
On Sunday 07 September 2003 6:11 am, Ralf Spenneberg wrote:
> Am Son, 2003-09-07 um 01.53 schrieb Cody Harris:
> > Hello. I have researched your database on this subject (hostname
> > routing), but found nothing much. What i want is to take domain.com:* and
> > deliver that to the local machine (127.0.0.1), but i want
> > alt.domain.com:* to go to 192.0.0.2. How is this done?
>
> Am I missing something?
> What about the following in /etc/hosts:
> 127.0.0.1 localhost localhost.localdomain domain.com
> 192.0.0.2 alt.domain.com
>
> Or do it on you DNS server.
>
> Cheers,
>
> Ralf
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2003-09-10 0:00 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-07 18:41 Hostname Routing Cody Harris
2003-09-08 11:14 ` Ralf Spenneberg
2003-09-10 0:00 ` Cody Harris
-- strict thread matches above, loose matches on Subject: below --
2003-09-06 23:53 Cody Harris
2003-09-07 1:13 ` Alistair Tonner
2003-09-07 1:16 ` Cody Harris
2003-09-07 1:29 ` Alistair Tonner
2003-09-07 1:31 ` Cody Harris
2003-09-07 9:11 ` Ralf Spenneberg
2003-09-07 18:39 ` Cody Harris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox