limit bandwidth through squid

Discussion regarding the installation and configuration of Linux distributions.

limit bandwidth through squid

Postby mohdali2 » Thu Feb 01, 2007 12:26 pm

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
mohdali2
Havaldaar
 
Posts: 125
Joined: Sun Jan 26, 2003 4:54 pm

Postby [-RHEL-] » Thu Feb 01, 2007 3:13 pm

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:
[-RHEL-]
Cadet
 
Posts: 9
Joined: Fri Jan 19, 2007 7:24 am
WLM: sroney_lee@hotmail.com
Location: Lahore

Postby shumaell » Thu Feb 01, 2007 3:18 pm

Please chek the link

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

regards

shumael
shumaell
Cadet
 
Posts: 9
Joined: Thu Jan 11, 2007 1:35 pm
WLM: shumaell@hotmail.com
Yahoo Messenger: shumaell@yahoo.com
Location: Islamabad

Postby mohdali2 » Thu Feb 01, 2007 5:48 pm

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
mohdali2
Havaldaar
 
Posts: 125
Joined: Sun Jan 26, 2003 4:54 pm

Postby ranatanveer » Fri Feb 02, 2007 1:02 pm

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
ranatanveer
Subedar
 
Posts: 355
Joined: Sat May 07, 2005 11:54 am
ICQ: 133032001
Website: http://www.affordableprogrammers.com
WLM: ranatanveer@gmail.com
Yahoo Messenger: ranahard@yahoo.com
Location: Lahore


Return to “%s” Installation

Who is online

Users browsing this forum: No registered users and 3 guests

cron