So I have a bunch of these:
/ip firewall nat add chain=dstnat action=dst-nat to-addresses=10.0.0.25 to-ports=80 protocol=tcp src-mac-address=00:00:00:00:00:14 dst-port=1-65535 comment="Smith NONPAYER"
In a file. The problem I have is that they’re all in a file on a Ubuntu machine. I need to get these commands to the RouterOS and execute them hundreds of times a day. I’ll also need to remove the old ones, which I assume I can just tack the remove commands at the beginning of the script. How do I/what is the best way to do this?
I think I could figure out the scheduler portion, but if someone could provide a quick tip on how to do that, it would help. I’m sad to say I’m new to MikroTik, but have been so impressed with what it can do so far, it just blows my mind.
P.S. - I did Google this with no luck.