I'm using this app on ClearOS5? and ClearOS6 to limit 500*-1000** kbps download and upload for specific IPs(range/network) for whatever they do, using the guide below, but now it's not working.
1. Is Bandwidth Manager Advance Rules still not yet supported on ClearOS7?
2. If not, is there a workaround?
Type: Advanced
Nickname: web_hog
Direction: Flowing to the network
Match Address: Destination - 192.168.1.100
Match Port: Source - 80
Rate: 200 kbps
Ceiling: 200 kbps
Greed: Medium
*500 kbps for Hot LAN / Guest Network
**1000 kbps for specific IPs on Private LAN
https://sfj48-fkj200.heiksthsd.cf/resources/documentation/clearos/content:en_us:6_bandwidth_manager
1. Is Bandwidth Manager Advance Rules still not yet supported on ClearOS7?
2. If not, is there a workaround?
Type: Advanced
Nickname: web_hog
Direction: Flowing to the network
Match Address: Destination - 192.168.1.100
Match Port: Source - 80
Rate: 200 kbps
Ceiling: 200 kbps
Greed: Medium
*500 kbps for Hot LAN / Guest Network
**1000 kbps for specific IPs on Private LAN
https://sfj48-fkj200.heiksthsd.cf/resources/documentation/clearos/content:en_us:6_bandwidth_manager
Share this post:
Accepted Answer
for PrivateLAN specific IPs:
ssh:
tc qdisc add dev eno1 root handle 1: cbq avpkt 1000 bandwidth 100mbit
tc class add dev eno1 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 5 bounded isolated
tc filter add dev eno1 parent 1: protocol ip prio 16 u32 match ip dst 192.168.0.8 flowid 1:1
tc filter add dev eno1 parent 1: protocol ip prio 16 u32 match ip dst 192.168.0.81 flowid 1:1
tc filter add dev eno1 parent 1: protocol ip prio 16 u32 match ip dst 192.168.0.96 flowid 1:1
tc filter add dev eno1 parent 1: protocol ip prio 16 u32 match ip dst 192.168.0.144 flowid 1:1
tc filter add dev eno1 parent 1: protocol ip prio 16 u32 match ip dst 192.168.0.151 flowid 1:1
crontab(allow 2mbit at 12:15pm-1:15pm):
15 13 * * * /sbin/tc class change dev eno1 classid 1:1 cbq rate 0.5mbit allot 1500 prio 5 bounded isolated
15 12 * * * /sbin/tc class change dev eno1 classid 1:1 cbq rate 2mbit allot 1500 prio 5 bounded isolated
ssh:
tc qdisc add dev eno1 root handle 1: cbq avpkt 1000 bandwidth 100mbit
tc class add dev eno1 parent 1: classid 1:1 cbq rate 512kbit allot 1500 prio 5 bounded isolated
tc filter add dev eno1 parent 1: protocol ip prio 16 u32 match ip dst 192.168.0.8 flowid 1:1
tc filter add dev eno1 parent 1: protocol ip prio 16 u32 match ip dst 192.168.0.81 flowid 1:1
tc filter add dev eno1 parent 1: protocol ip prio 16 u32 match ip dst 192.168.0.96 flowid 1:1
tc filter add dev eno1 parent 1: protocol ip prio 16 u32 match ip dst 192.168.0.144 flowid 1:1
tc filter add dev eno1 parent 1: protocol ip prio 16 u32 match ip dst 192.168.0.151 flowid 1:1
crontab(allow 2mbit at 12:15pm-1:15pm):
15 13 * * * /sbin/tc class change dev eno1 classid 1:1 cbq rate 0.5mbit allot 1500 prio 5 bounded isolated
15 12 * * * /sbin/tc class change dev eno1 classid 1:1 cbq rate 2mbit allot 1500 prio 5 bounded isolated
Responses (9)
-
Accepted Answer
The bandwidth manager completely changed in ClearOS 7.x and is now closer to a QoS manager and traffic prioritising service rather than a service managing device bandwidths. In its current form it is far more suitable for services such as VoIP, but you can no longer control individual devices to specific limits. All you can do is allocate devices to different priority levels. -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Hello
Can anybody please tell me, why the old Bandwidth Manager isn't working any more in ClearOS7.x?
Many years back, when I was searching for this, I found ClearOS5, and it was working like a charm. Very easy to configure, just put in a few numbers and that was it. This was the whole reason I installed ClearOS.
But now in ClearOS7 it doesn't work any more.
I would like to limit traffic for specific IP's.
Will there be any fix for this? If not, can someone please recommend me another free Linux distribution with easy to set Bandwidth Manager, like it was in ClearOS5?
Thank you very much -
Accepted Answer
The old bandwidth manager had its pros and cons. The new one is much better in some situations such as VoIP, but it appears to be quite processor intensive. It is possible to limit the bandwidth to certain machines. Check the /etc/clearos/qos.conf for more info.
The bandwidth manager will not be reverting as far as I know, but it will be moving away from the IMQ method with requires the kernel to be patched, and move over to a mainstream kernel method, which I understand is pretty much compatible with the current Webconfig. -
Accepted Answer
Hello Nick
For me, the old Bandwidth Manager has only pros. I don't need VoIP, I just want to limit bandwidth to specific IP's or range of IP's.
It's a shame that such a great tool won't be available anymore... Why can't there be both of them, the better one (old) and the worst one (new)?
And let users decide which they want.
So the last version of ClearOS that supported old Bandwidth Manager was 6.9.0? Or which?
Can you please give me a link, because I only found 6.7.
Thank you -
Accepted Answer
-
Accepted Answer
Ok, thank you.
September this year? Maybe till then, the developers will come to their senses and they will realize how stupid it was, not to implement old Bandwidth Manager in ClearOS7.X and will implement it back so that it would work, like it worked in ClearOS5.2.
If I was in charge of ClearOS, I would fire that developer, that came up with the idea of ditching old Bandwidth Manager, ASAP...
Yes, I did look at that file, I'm sorry, it's to complicated for me, I'm not an expert.
I don't know, is it so hard to do like for example: Interface, Nickname, IP, Upload/Download, Speed, and that's it. Why make things complicated?
Thank you very much -
Accepted Answer
I have a problem with installing ClearOS 6.7.
It says:
Unable to read group information from repositories. This is a problem with the generation of your install tree.
Like in this link: https://sfj48-fkj200.heiksthsd.cf/clearfoundation/social/community/errors-installing-clearos-6-7-unable-to-read-group-information-from-repositories/oldest#filter-sort
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »