Home / Networking / Router / Konversi Dynamic Address List Ke Static

Konversi Dynamic Address List Ke Static

:local list
:local address
:log info “Dynamic to static conversion started”
/ip firewall address-list
:foreach a in=[find where dynamic=yes] do={
:set list [get $a list]
:set address [get $a address]
remove $a
add list=$list address=$address disabled=no
}
:log info “Dynamic to static conversion finished”

Leave a Reply

Your email address will not be published. Required fields are marked *