Squid speed limit
Hi all,
I've configured squid3 on my Ubuntu-14.04-x86 server. I want to limit speed limit for each ip 300kbps (i don't have a list of ips. just want to limit everyone who connects) Also max speed for all users 5mbps Thank you :) |
Quote:
|
|
Quote:
Quote:
I've tested this its working fine. #max speed 5mbps delay_pools 1 delay_class 1 1 delay_access 1 allow all delay_parameters 1 640000/640000 It's not working when I limit speed for each connection. I've tried replacing "192.168.1.0/24" with my server ip. But still struggling :( acl only128kusers src 192.168.1.0/24 delay_pools 1 delay_class 1 3 delay_access 1 allow only128kusers delay_access 1 deny all delay_parameters 1 640000/640000 -1/-1 16000/640000 Please help me with that? |
anyone ?
|
Quote:
If the above example doesn't work, check squid logs for errors and use your favorite search engine for a solution, or to find another howto that fits your needs. Regards |
Your configuration looks close. However, if you changed that IP SUBNET to your IP ADDRESS then you would only be limiting yourself. You would want to put in a SUBNET which contains the IP ADDRESSES that you want to limit. Ie:
192.168.100.0/24 or 10.0.1.0/23 Also, you changed the pool parameters to 640000, which is far more bandwidth than you think. |
Quote:
Quote:
I want to apply these limits to everyone who connects to my server. I can't specify by ip or subnet. It can be any country. There are tons of subnets. How could I do that? Thank you very much for the support |
Quote:
Code:
delay_pools 1 |
All times are GMT -5. The time now is 02:29 PM. |