Feature request: Add Copy functionality for NAT & Firewall rules

Hi all,

please add an option to copy rules in Firewall and NAT pages (Winbox).

This will make the management of rules easiers and faster eg. when you have to just duplicate a rule with a different port or IP.
Very useful feature expecially in configurations with a number of rules.

Thanks.
Best regards.

massimo

If you open a rule (just tested this with the App, also works in Winbox), you can copy that rule.
In CLI, you can do an export and copy a specific line. If you execute that line (with some adjustments) you can execute it.

Not sure why you think it is missing.

True in part. But there is no context menu (right-click) with "Copy", and in WinBox4 the "copy" being in the title bar (i.e. stacked paper icon is copy) may not be obvious to all...

Exactly in Winbox there is no "Copy rule" button.

I don't need a script command, it don't improve my work, thank you.

A button "Copy rule" in Winbox.

massimo

does the “Copy” button ( 2 ) on an existing rule not work for you?
nat_26-03-2025.png

I'm sorry, i didn't see it
anyway you could improve the functionality by adding the button also to Firewall and NAT pages,
so that it's not needed to open each rule, this will make the job faster
thanks

massimo

There is also 'copy-from=' property, and you can modify whatever parameters you want on the new cloned object at the time of creation as well:


/ip/firewall/filter/add copy-from=1 dst-address=1.2.3.4

which, IMO, is even faster, if one is familiar with the CLI

in WinBox v3 you can navigate with cursor keys. so select one NAT rule with the keys, press enter, click copy, change desired parameters on "New NAT Rule" and press enter again. rule created.
rinse and repeat.
no need for a new button honestly.

I find that a copy button in the NAT and FW menu is an improvement for the UI.

This is just a feedback, Mikrotik is not forced to add the function i request.
Anyway i hope they will do. :slight_smile:

My 2 cents.

regards

massimo