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
Received on Fri Feb 16 2007 - 11:47:10 MST
This archive was generated by hypermail pre-2.1.9 : Thu Mar 01 2007 - 12:00:01 MST