Thanks for your reply,
Quote:
Use Iptables ( -m limit option).
|
Can you give me some example about --iptabless with -m limit option -- ? I am not clear about.
The first time, i also use bandwith limit with Squid proxy, however having something not to be suitable for my localnetwork's working purpose.
Here is my delay configuration:
=====================================================
# nolimit download in localnet
acl nolimit-localnet url_regex -i 192.168.
#
# nolimit download from specific users in localnet
acl nolimit-users url_regex -i 192.168.1.80 192.168.1.81 192.168.1.90 192.168.1.20
#
# nolimit download from specific site
acl web-permit url_regex -i abc.com
#
# limit download from Internet
acl limit-internet url_regex -i .wmv .wma .mp3 .mpg .wma .avi .asf .rm .zip .rar .ram .iso .raw .dat .cab .rar .rpm .exe .vq .pdf .tar .rpm .tar.gz .bin .cue#
# the buckets require for gameloft policy
delay_pools 1
#We want to limit bandwidth during the day, and allow
#full bandwidth during the night
#Caution! with the acl below your downloads are likely to break
#at 23:59. Read the FAQ in this bandwidth if you want to avoid it.
delay for download in localnet
acl gameloft_hours time MTWHF 08:00-19:00
#
delay_class 1 2
delay_parameters 1 -1/-1 -1/-1
delay_access 1 allow nolimit-localnet
#
delay_class 2 2
delay_parameters 2 -1/-1 -1/-1
delay_access 2 allow nolimit-users
#
delay_class 3 2
delay_parameters 1 -1/-1 -1/-1
delay_access 3 allow web-permit
#
# delay for internet from internet
delay_class 1 2
delay_parameters 1 5000/150000 5000/120000
delay_access 1 allow limit-internet
===============================================================================
Are there something wrong configuration in my delay above? Please show me the problem of my configuration.
Thank you very much.