Re: [squid-users] Wccp related question

From: Joe Cooper <joe@dont-contact.us>
Date: Fri, 29 Mar 2002 17:15:53 -0600

It is best to leave discussions on the squid-users list, so others can
benefit from it.

schazad choudary wrote:
> Well i do not deny you but as for as i know at that
> time even i do not know that how to redirect port i
> just compiled a squid and for test purpose enable the
> wccp.
>
> And i wonder when after a minute there were 4 proxies
> instead of three, coz i was not allow to do that so i
> shutdown the squid and then again run for 30 minutes,

Squid will show up in the router without port redirection enabled on the
server. But browsing won't work.

> i did not compile the module even.just nothing just
> emable the wccp option in squid.conf.

The question is not will Squid announce itself to the router--it will.
But clients won't be able to browse. A patched ip_gre module or ip_wccp
module (or some other patch for FreeBSD) is required, and port
rediection has to take place. These are not optional, and that is why
they are in the FAQ.

> well now i knoe my frined but my question was actully
> that can we do this port redirection at router end and
> not at "machine where squid is runinng" end.

Not as far as I know, but I am not a router expert. I know that all of
my clients are using port redirection on the Squid box, and the custom
gre module as documented in the Squid FAQ.

It isn't difficult, so why not just do it the way that it is known to
work? It literally takes only one ipchains or iptables rule on Linux,
and certainly nothing significantly more complex on FreeBSD. If you are
using another OS, you might not have as much luck with transparent
proxying of any sort--I'm not sure which other OS variants will work,
but certainly not all of them.

If you follow the instructions in the FAQ, and still can't get things
working, I'm sure someone here can give you some pointers.

> --- Joe Cooper <joe@swelltech.com> wrote:
>
>>schazad choudary wrote:
>>
>>>well as for me have studied all wccp configuration
>>>methods guide to configur squid with ipchains or
>>>
>>some
>>
>>>utuility which can redirect 80 port to 8080.
>>>
>>>but in my mind some where i have diffrent
>>>
>>concept.i
>>
>>>have run squid with wccp one time without it.
>>>
>>>Can any one guide how can i configure wccp without
>>>
>>any
>>
>>>redirection of port .
>>>
>>
>>If you remember having setup Squid to operate
>>transparently without port
>>redirection, then you have a good imagination (and
>>not a good memory). ;-)
>>
>>You have to redirect port 80 traffic to the local
>>Squid port. This
>>isn't optional for transparent operation.
>>
>> > well and what u suggest what is better.port
>> > redirection either in router or in squid.
>>
>>Gotta do it locally, as far as I know. (Not in
>>Squid, but on the
>>machine on which Squid is running at the network
>>layer.)
>>
>>Tha FAQ will get you started on this.
>>--
>>Joe Cooper <joe@swelltech.com>
>>http://www.swelltech.com
>>Web Caching Appliances and Support

-- 
Joe Cooper <joe@swelltech.com>
http://www.swelltech.com
Web Caching Appliances and Support
Received on Fri Mar 29 2002 - 16:18:10 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:12 MST