Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Squid Proxy makes Internet connection very slow


    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 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)
    IPtable: iptables-1.3.5-5.3.el5_4.1
    Squid: squid-2.6.STABLE21-6.el5


    Thanks!

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    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 HOWTO
    linux user # 503963

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •