Is there a way to flush the firewall rules using a script?
I noticed that if I make big changes to the firewall script from the export option and then re-import it, All the rules get added, so now each chain has double the rules.
If there was to add a command to the top of the script to remove all the rules, so when importing they wouldn’t double up that would be great.
Anyone know how I might go about doing this. This is on 2.9
If you find some spare minutes, read the scripting section from the manual thoroughly.
The scripting features in RouterOS can save you tons of work often…