OpenWrt Forum Archive

Topic: QoS with Layer 7 filters

The content of this topic has been archived on 26 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Looking to see if there is a ready made (preferably with gui for my customers) QoS with layer 7 filters avaliable with Openwrt.
Everything I see thus far are simple iptables and queue priority based on ips or ports.

Have a look at my QoS package at http://downloads.openwrt.org/people/nbd … mipsel.ipk. It is designed to provide decent traffic shaping out of the box for most kinds of traffic. Just install the package, edit /etc/config/qos, then run qos-start.

Using your package, how do I bandwidth throttle a port? I did not see any examples to do that in your default config qos examples.

You don't need to throttle specific ports. TCP/UDP ports from 1024-65535 are considered bulk by default with some exceptions (e.g. small UDP packets are prioritized in order to improve VoIP performance). The traffic is split up into classes and these classes are shaped using HFSC.

So there is no way I can throttle say, ftp traffic, to not go over 5kb/s?
I understand priority shaping, and thats all well and good, but what if I want no more than 10kb/s of bittorrent traffic to go thru my system?
Is there no way currently to do this?

Depending on your ftp server, this can be set in the server config.

vsftpd supports settings like thie BobOki.

Yes yes, I was just trying to give an example. I would much prefer to have multiple options open to me, or the ability to bandwidth throttle something that does not have throttling in it. (like perhaps smtp)

The discussion might have continued from here.