Search squid archive

Re: squid , apcahe n Freebsd(PF)

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

 



sonjaya wrote:
Dear all

I have machine proxy with squid (squid 2.6) and OS freebsd . I set
with pf for transparent proxy also i have limit who can use proxy (
base on IP)  in squid.conf.
Now i set web server in that machine (apache + php ).
The problem show when comp ( non ip allow acces proxyxy ) access  the
web server( that proxy machine ) always get access denied .

so how to set  squid to alloow to acces webserver ( in proxy )  from
ip non in the list  .


-sonjaya-

Add a "dstdomain" acl pointing to the webserver and add a http_access allow line.

Assuming your lan is 10.0.0.0/24 and your website is www.example.com...

acl mynet src 10.0.0.0/24
acl mysite dstdomain .example.com
... #all the rules preventing proxy port abuse
http_access allow mynet
http_access allow mysite
http_access deny all

Chris

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

  Powered by Linux