I have two mangle rules, first one with a port range 12000-51819,51821-64000 and the second rule with only port 51820, issue is the range isn’t excluding the port 51820 correctly, it is still getting marked by the first rule, what am I doing wrong?
Am not sure if it is correct to add ports and port-ranges at the same line… According to the Manual it should be Ports or Port Ranges…
You can just move your last rules on top and you will be fine…
Edit, both ports and ports ranges can be used without a problem…
Using both ports and port ranges work, I did move the rule to the top and it worked! thank you, but I’m still wondering why the port did not get excluded?
I can’t be sure or guess as to why the first rule was matched by that port although it does not exist in the ports field.
What is your ROS Version ?
Is it updated to latest Version ?