squid and IP fun...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

squid and IP fun...

Anton Melser
Hi all,
I have managed to get squid to cache pretty much everything I need,
and am very glad (reverse proxying two sites)! However, there is an
extra complication...
So instead of changing the DNS to make everything pass via squid, we
wanted to do it via the cisco firewall (we have two sites on two
machines, with squid serving both from one of these machines). So I
added an extra ip address to eth0 (eth0:1), with the hope that squid
would be able to handle it. In the cache logs everything looks ok...
but the site simply returns nothing. Can anyone think of something
simple I am forgetting to do here?
It works fine if I set the value in my hosts file, so I thought it
would be ok just to use the firewall to redirect... Any ideas?
Thanks for your help.
Anton
Reply | Threaded
Open this post in threaded view
|

Re: squid and IP fun...

Anton Melser
Sorry all, stupid question, squid wasn't listening on the second IP...
Cheers
Anton

On 21/05/07, Anton Melser <[hidden email]> wrote:

> Hi all,
> I have managed to get squid to cache pretty much everything I need,
> and am very glad (reverse proxying two sites)! However, there is an
> extra complication...
> So instead of changing the DNS to make everything pass via squid, we
> wanted to do it via the cisco firewall (we have two sites on two
> machines, with squid serving both from one of these machines). So I
> added an extra ip address to eth0 (eth0:1), with the hope that squid
> would be able to handle it. In the cache logs everything looks ok...
> but the site simply returns nothing. Can anyone think of something
> simple I am forgetting to do here?
> It works fine if I set the value in my hosts file, so I thought it
> would be ok just to use the firewall to redirect... Any ideas?
> Thanks for your help.
> Anton
>