Hello,
“add … place-before=N”
this command adds a rule to position N (counting from the top)
But how do you add a rule to position N counting from the bottom?
Hello,
“add … place-before=N”
this command adds a rule to position N (counting from the top)
But how do you add a rule to position N counting from the bottom?
It’s not perfect,
Maybe someone with more experience, can help and make it better.
But it works!
Basic exemple 5 counting from bottom
/ip firewall filter
add action=log chain=forward comment=test place-before=(([/ip firewall filter print as-value count-only]) - 5)