Restricting download limit in Squid

Posted by Supratik on Server Fault See other posts from Server Fault or by Supratik
Published on 2010-11-24T10:53:27Z Indexed on 2010/12/25 9:55 UTC
Read the original article Hit count: 166

Filed under:

Hi

I wanted to restrict the download limit in the Squid proxy so I added the following two lines in the squid.conf.

acl officelan dst 192.168.1.0/24

reply_body_max_size 30000000 deny officelan

Now, I want to allow some/particular IP to download more than 30MB limitation so I included another acl as alowedip and included the following lines but this is not working.

acl allowedip dst 192.168.1.81

reply_body_max_size 0 allow allowedip

How do I allow acl allowedip to have unlimited download ?

Warm Regards

Supratik

© Server Fault or respective owner

Related posts about squid