neive
1
Hi all,
I want to do scripting & schedule of below for the src nat.
I have configured 14 src nat rule and now I want to enable one by one rule daily.
so that
day 1 = rule one will be enable
day 2 = rule two will be enable
day 3 = rule three will be enable
and like wise till 14th day.. then again the cycle to be repeated from day 1.
Can sombody help it with ?
Regards
Neive.
normis
2
that should be very easy. make one script, and one scheduler rule, which will contain something like:
[admin@MikroTik] system script> add name=disable_1 source={/ip firewall nat disable NAME}
[admin@MikroTik] system scheduler> add name="run_1" start-time=9:00:00 interval=24h on-event=disable_1
this script can also contain more lines, so that all actions will be run by your scheduler rule. see more here:
http://www.mikrotik.com/testdocs/ros/2.9/system/scheduler.php