mikrotik
export
export cfg into console
export file=<name>
export cfg as .rsc-file. can be read by any editor. its located at files at webgui
/<path/print
to show cfg
/ip/firewall/nat/print
show firewall settings
or use export for more compact version
/ip/firewall/nat/export
show firewall settings