Search squid archive

Re: Fwd: transeparent prxy and a reverse proxy simultaneously ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux