0

Is there any way to have a QoS over nftables.

I have a webserver and I want to restrict that HTTP input traffic should have maximum of 90% of bandwith. Is it possible?

Nothing found in official documentation.

somenxavier
  • 101
  • 2
  • 1
    nftables or iptables can do policing (drop) but not shaping (slow down). It's intended for security, not for QoS. You should check tc instead (or in addition). Btw, it is in documentation (both wiki and manpage). – A.B Jul 18 '23 at 13:45
  • @A.B What is `tc`? – somenxavier Jul 18 '23 at 17:53
  • Here's an old ( ~ 20 years ago) howto, so some parts may be outdated. chapter 9 is about traffic shaping: https://lartc.org/howto/lartc.qdisc.html – A.B Jul 18 '23 at 18:26
  • You could also check https://github.com/magnific0/wondershaper for implementation examples (don't use the Debian-based packages, they are all outdated, including in Debian 12). – A.B Jul 18 '23 at 18:34

0 Answers0