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

From: Indunil Jayasooriya <[email protected]>
Date: Tue, 16 Oct 2007 15:47:20 +0530

On 10/16/07, Henrik Nordstrom <henrik@henriknordstrom.net> wrote:
> On tis, 2007-10-16 at 14:36 +0530, Indunil Jayasooriya wrote:
>
> > to setup reverse proxy on squid 2.5 , http_port should be changed to
> > 80, shouldn't it?
>
> First of all you should upgrade to 2.6, then see the FAQ on how to
> configure Squid for reverse proxy operation.

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

how to write never_direct rule ?

Am I right?

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

Hope to hear from you.

-- 
Thank you
Indunil Jayasooriya
Received on Tue Oct 16 2007 - 04:17:24 MDT

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