limit bandwidth through squid

Discussion regarding the installation and configuration of Linux distributions.
Post Reply
mohdali2
Havaldaar
Posts: 125
Joined: Sun Jan 26, 2003 4:54 pm

limit bandwidth through squid

Post by mohdali2 »

I would like to limit the bandwidth to 10kb per user, I am using squid proxy on Enterprise Linux 4.

If anyone knows please help.

Regards
Muhammad Ali
[-RHEL-]
Cadet
Posts: 9
Joined: Fri Jan 19, 2007 7:24 am
Location: Lahore

Post by [-RHEL-] »

AOA
i think you solve your prob... fror this..

########################
acl all src 0.0.0.0/0.0.0.0
acl yourip src 192.168.0.1-192.168.0.14
acl 10kuser src 192.168.0.15-192.168.0.25
################
http_access allow yourip
http_access allow 10kuser
http_access deny all

#########################
delay_pools 2

#############################################
delay_class 1 2
delay_access 1 allow yourip
delay_parameters 1 -1/-1 -1/-1
delay_access 1 deny all
##################10 k USer#######################
delay_class 2 2
delay_access 2 allow 10kuser
delay_parameters 2 -1/-1 10000/10000
delay_access 2 deny all
############################

Sory 4 any Mistake.. :roll:
shumaell
Cadet
Posts: 9
Joined: Thu Jan 11, 2007 1:35 pm
Location: Islamabad
Contact:

Post by shumaell »

Please chek the link

http://www.faqs.org/docs/Linux-HOWTO/Ba ... HOWTO.html

regards

shumael
mohdali2
Havaldaar
Posts: 125
Joined: Sun Jan 26, 2003 4:54 pm

Post by mohdali2 »

THanks for ur reply shumaell and [-RHEL-], i am puzzled, How can I determine that delay pool is enable or not with my current
installed squid proxy.

Regards
Muhammad Ali
ranatanveer
Subedar
Posts: 355
Joined: Sat May 07, 2005 11:54 am
Location: Lahore
Contact:

Post by ranatanveer »

Dear Muhammad Ali
How can I determine that delay pool is enable or not
try this command

# /where/your/squid -v
Regards

Rana Tanveer
+923224194457
Linux Student

For Affordable Web Development http://www.affordableprogrammers.com
http://www.qualityprogrammers.com
Post Reply