ADSL单线映射更新DST地址不行?
脚本以下:global new
:global status
:global x
:set x 1
:for i from=1 to=$x do={
:set status running]
:if ($status=true) do={
:set new address]
:set new [:pick $new 0 ([:len $new] -3)]
/ip firewall nat set dst-address=$new
}
}
请问是否可行?
:)可行啊 :) 把外层循环去掉就行了
页:
[1]