Results 1 to 2 of 2
Hi Guys, I've setup Squid proxy on our network to supposedly cache the sites to make faster for users, however when someone downloads a data from the net work upstream ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-26-2011 #1
- Join Date
- Jan 2011
Squid Proxy makes Internet connection very slow
I've setup Squid proxy on our network to supposedly cache the sites to make faster for users, however when someone downloads a data from the net work upstream data, it make the entire internet runs very slow, and when I checked on our bandwidth utilization from my ISP, the maxed out the upstream. This usualy happen even only 1 person is uploading data.
(1.) Is there a way to limit such activity? limit downstream and upstream on certain cleints? or even blocks of clients, (eg. limit upsteam downstream on client with ip address 192.168.1.20-192.168.1.40 with only 1Mbps bandwidth)
(2.) Is there a way to limit port 21 (ftp) to only 100Kbps, etc.
This has been my problem for a month now, and still finding solutions.
Tried installing CBQ, but seems not working.
Here's my Server Info
OS: CentOS release 5.7 (Final)
- 10-27-2011 #2
There are several ways to do it.
If you have the limit module in iptables: The iptables Rate-Limiting Module - PenguinSecurityWiki
How about tc?: Traffic Shaping using tc - Server Fault
Additional reading: Traffic Control HOWTOlinux user # 503963