Configuring nft-qos to limit bandwidth speed for specific interface only on OpenWRT

I have previously installed the nft-qos package and configured it to control the bandwidth speed per device.

However, the nft-qos package actually limits the overall bandwidth speed for each device on every interface in OpenWRT.

What I want is to only limit the bandwidth speed for each device on the WAN interface (eth0.2) only... so the bandwidth speed for each device on other interfaces (besides WAN/eth0.2) is not limited.

What should I do?

What you want doesn't seem to be supported by default, so you have two options (depending on your knowledge and abilities):

A) Create your own custom nftables rules.
B) Modify some functions in /lib/nft-qos/core.sh and /lib/nft-qos/static.sh.

Hi,

Could you please share what to do to configure nft-qos to limit bandwidth.

Or where I can find information about it.

Best regards,

1 Like