Disabling NAT when ping or pppoe client is not respon

Anyone can help how to scripting to disabling one of nat rule, when the ping not respon or the pppoe client is not running…

tx

should be very easy.

  1. make a script that contains "/ip firewall nat disable “comment” and save it into system scripts. also make a script that will enable the same rule
  2. then make a new “tool netwatch” rule. it will ping a certain IP, and when it will go down, will execute the new script (down-script). also specify the up-script - this one will enable your rule when that IP is up