Hello,
we have some CCR 1036 and we have some raw firewall rules in our ccr’s when we reboot the router or in such special case rules order will change. so is there anyway save rules order in raw firewall filtering?
because i have some rules for block special ports and when the rules order change my router cpu will increase up to %50.
thank you.
You’re mentioning dynamic rules … those obviously don’t survive reboots. If you want those higher than static rules, you have to push them up when creating them.
The number of CCR in place is not relevent = and if all your CCR’s are displaying the exct same behaviour then you need to correct the issue for all of them. Make sure that your scripts, assuming you have some scripts that fire based on some condition, are correctly done. If no scipts exists and youir rule order canges without your implied consent THAT usually indicates someone [processes] is making changes a sure sign that your machines have been taken over. Netinsall is the safe way to bring back sanity to your CCR’s.
all of our routers has private ip and they have winbox ip limitation and firewall protection and if somebody touch my router why does he only touch rules order! if i have access to a router sure i will change password and i have checked the logs there is no log in my syslog server that some one login to my router illigaly
Depends how rules get added. With /ip firewall raw add you can use place-before=x … where x is place where you want to put the new rule. If the rules are created and you can not influence the order, you can write a script which pushes all dynamic rules before static ones … and run that script every minute or so …