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 10/16/07, Henrik Nordstrom <henrik@xxxxxxxxxxxxxxxxxxx> 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

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

  Powered by Linux