-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ratelimit rules order? #12
Comments
This should already work. If it supposedly isn't, test and prove it's not working. |
I test speed and based on it create issue. These IP are OpenVPN users. OpenVPN run on Android tablet. I test speed by speedtest app. What can I provide for debug? |
|
Under "reload" I understand need clear set file?
Run test
Change rules
Run test
|
It's hard to comprehend this stat because test performed not like I requested it and stat is dirty with noise data.
|
10.8.0.100 proof
Run test and at middle of download run cat
|
I misinterpreted your set up at first, so test wasn't really necessary, and everything is seems working correctly. |
So, for correct ratelimit I need create separate rules for IP .100 and for other IP, but if one rule overlap other rules, module use last one? |
Answer two questions:
|
I'am guest in Linux.
Understood my mistake, I can add both rules in one set file
Looked at readme and thinked need create separate set for src and dst. If not add ratelimit-mode param set will be use for both, src and dst? |
Why you create 4 sets and not just 2? |
After understood mistake, I make this, all work fine
|
Grats! |
I'am need ratelimit in all network, but except some IP.
For test I run
All work fine IP .100 have 100mbit limit and IP .101 have 1mbit limit.
After that remove .101 rules and add rules for .100/24 ip range
But IP .100 also have limit 1mbit, first rules for .101 IP don't work.
How I can implement this logic?
The text was updated successfully, but these errors were encountered: