Re: [squid-users] Fwd: transeparent prxy and a reverse proxy simultaneously ?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 16 Oct 2007 14:03:00 +0200

On tis, 2007-10-16 at 15:47 +0530, Indunil Jayasooriya wrote:

> If upgraded to squid 2.6, I think I need below lines taken from squid FAQ.
>
>
> http_port 80 accel defaultsite=www.example.com
> cache_peer ip.of.real.webserver parent 80 0 no-query originserver
>
> acl our_sites dstdomain .example.com
> http_access allow our_sites

yes.

> how to write never_direct rule ?

never_direct allow our_sites

and you also need

cache_peer_access ip.of.real.webserver allow our_sites

to tell Squid that the web server is only for the accelerated sites, not
anything else...

> Then, How can I set up transparent interceting to the same squid.conf?
> What about below lines? it is right? if wrong, pls let me know.
>
> http_port 3128 transparent
> acl mynet src 192.168.101.0/24
> http_access allow mynet

Looks fine.

Regards
Henrik

Received on Tue Oct 16 2007 - 06:03:05 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT