Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 648 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 648 Bytes

Mikrotik firewall rules to csv

Transform mikrotik firewall rules into a csv easy manageable with an spreadsheet

When you have a large number of rules on your firewall sometimes it's dificult to figure out what it is exactly doing.

One solution would be to transform the rule list into a a spreadsheet and be able to order it by some field, change column order, etc.

First, download the firewall rules to a file

ip firewall filter export=firewall

Then download from files the file firewall.rsc on the same directory of the python script, next execute the program

python fw_mk.py

That will create mk-out.csv.