Search squid archive

Re: [squid-users] Transparent Proxy & No Caching

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

 



Hi robert,

Ur acl's tells that ur network ip are of 10.0.0.0 and 10.0.30.0 network 
i m running squid 2.5 stable , i also had same problem , when u use
squid in transparent mode u hav to reroute the requests from 80 to
8080 or 3128 what soever port u r running squid , when i define my
network ips in squid.conf it was not caching i removed my network ips
from acl's and allowed all , than it started working quite fine
showing me lots of TCP_HIT.

U can try this , it is quite better .and u can change ips netime
without making ne changes on client side. Coz in transparent proxy u
don hav to specify the  proxy settings in ur browser u just hav to
specify the gateway in the clients TCP/Ip properties.

For nething in transparent proxy u can ask .

Regards
Dev



On 4/26/05, Robert Vangel <vangelr@xxxxxxxx> wrote:
> acl QUERY urlpath_regex
> no_cache deny query
> 
> acl blacklist dstdomain -i "/etc/squid/blacklist"
> acl all src 0.0.0.0/0.0.0.0
> acl office src 10.0.0.0/255.255.0.0
> acl localhost src 127.0.0.1/255.255.255.255
> 
> acl purge method PURGE
> acl CONNECT method CONNECT
> acl methods method all
> 
> acl office0 src 10.0.0.0/255.255.255.0
> ...
> acl office30 src 10.0.30.0/255.255.255.0
> 
> http_access deny blacklist
> http_access allow localhost
> http_access deny purge
> http_access allow office
> 
> http_access deny all
> 
> http_reply_access allow office
> http_reply_access deny all
> 
> # 40GB XFS partition
> cache_dir aufs /var/spool/squid 30000 16 256
> 
> dev singh wrote:
> > Hi Robert,
> >
> > can u plz post the acl parameter .
> >
> > regards
> > dev
> >
> >
> 
> 
>


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

  Powered by Linux