What's new

iptables and manual QoS rules, how?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

exscape

New Around Here
Hi, everyone!
I'm setting up a RT-AC66U router with Asuswrt-merlin on it, and want to use some custom traffic shaping rules (such as layer7 matching), but I can't find any info on how to do this.
I'm fairly sure I can manage to match the packages with iptables, but then what? What should iptables do to e.g. set a packet to 'lowest' priority?

In a custom shaping script I wrote years ago iptables is used to -j MARK packets which are then "shaped" by the tc tool with queues and classes... but "tc class" is empty and I think "tc qdisc" is also "default", so to speak, i.e. unused.

So, in short: how do I set this up? :)
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top