Скрипт для экспорта address list mikrotik
{:local lists {“Port-Scanners”}:local export “port-scanners”:local file “/ip firewall address-list\n”:foreach i in=$lists do={:set $file ($file . “remove [find list=\”” . $i . “\”]\n”):foreach j in=[/ip firewall address-list print as-value where list=$i] do={:set $file ($file . “add list=\”” . ($j->”list”) . “\” address=\”” . ($j->”address”) . “\”\n”)}}:if ([/file print count-only where name=$export] = 0) do={/file print file=$export:delay […]