Answer the question
In order to leave comments, you need to log in
Why is downlink rate limiting not working but uplink is?
Good afternoon! Dear experts, please tell me, I'm trying to limit the speed for a subnet, but the restrictions only work on upload. The download speed is not limited. But why?
I have two rules that label packets. Statistically, they work.
And there are two rules in the Queue tree, with rate limiting differing only in packet marker and names.
(Queue type : default-small,Parent global)
Outgoing shaper - works. Incoming no :(
Any idea would be welcome. Kick in the right direction.
Thank you!
Here are the rules:
Mangle
11 chain=prerouting action=mark-packet new-packet-mark=83_U_mark passthrough=yes src-address=192.168.83.0/24 log=no log-prefix=""
12 chain=prerouting action=mark-packet new-packet-mark=83_D_mark passthrough=yes dst-address=192.168.83.0/24 log=no log-prefix=""
5 name="queue2" parent=global packet-mark=83_D_mark limit-at=0 queue=default-small priority=8 max-limit=5100k burst-limit=0 burst-threshold=0 burst-time=0s
bucket-size=0.1
6 name="queue3" parent=global packet-mark=83_U_mark limit-at=0 queue=default-small priority=8 max-limit=5100k burst-limit=0 burst-threshold=0 burst-time=0s
bucket-size=0.1
Answer the question
In order to leave comments, you need to log in
Do you have a network 192.168.83.0/24 behind nat?
If yes, then mangle prerouting is triggered even before dst-nat.
Try to mark in mangle forward.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question