In the mikrotik shell, it has the syntax “place-before=n” in order to put new item in a position you want.
Following the console mikrotik documentation;
“place-before - places a new item before an existing item with specified position. Thus, you do not need to use the move command after adding an item to the list”
for instance:
/ip firewall filter add chain=input src-address=172.1.1.1 dst-address=172.1.1.2 action=accept place-before=0
create a new rule and put it in the first position
My question is:
Is there a way to do the same thing via winbox’s api ?
In my opinion it would be very useful to have this feature within the winbox, if it won’t has.
Thanks for advance.