Search squid archive

RE: bandwith restriction

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

 



Hi Benjo,

To be able to shape per ip per subnets you will need to use delay pools as follows: (I am using this on squid 2.7)

Delay_pools 1
Delay_class 1 2
Delay_parameters 1 -1/-1 64000/64000  (this shapes ur traffic for 512kbps/user)
Acl throttle_subnet1 src 192.168.x.x/24
Delay_access 1 allow throttle_subnet1
Delay_access 1 deny all


Take care banjo that for order for this to work all your client ips must hit the cache directly and not reach the cache through a nat rule otherwise your squid will see that all your web traffic is coming from one single ip and thus it will shape all your inner lan traffic as one ip and thus all your inner will be shaped to just 512kbps.

Hope this is clear enough for you.

Sincerely, 

Ragheb Rustom
Smart Telecom S.A.R.L
Sin el fil Highway
Mirna Chalouhi Center - 8th Floor
Beirut, Lebanon
Telefax: +961-1-491582
Mobile: +961-3-286282
Email: ragheb@xxxxxxxxxxxxxxx


-----Original Message-----
From: benjamin fernandis [mailto:benjo11111@xxxxxxxxx] 
Sent: Saturday, June 18, 2011 7:02 PM
To: squid-users@xxxxxxxxxxxxxxx
Subject:  bandwith restriction

Hi,

I want to use delay pool to limiting per host/ip in my network.We have
200 users in my organization.And i want to restrict them by each
host/ip.

please guide me for that.

How to use delay pool for my requirement?

Thanks,
Benjo





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

  Powered by Linux