22003| 7
|
[脚本] 悬赏+求助一个简单的脚本高手几句就能完成(有图好说明)在线等 |
悬赏20铜板已解决
最佳答案:global ipadd
:set ipadd [ /ip address get [/ip address find interface =pppoe-out1] address ]
:for i from=( [:len $ipadd] - 1) to=0 do={
:if ( [: pick $ipadd $i] = "/") do={
:set ipadd [:pick $ipadd 0 $i]
} }
:if ([/ip address get [/ip address find interface=pppoe-out1] address]!=[/ip firewall nat get 0 to-address ]) do={/ip firewall nat set 0 to-address=[/ip address get [/ip addr ...
| ||
routeros
|
||
发表于 2013-4-15 21:40:04
|
显示全部楼层
| ||
routeros
|
||
发表于 2013-4-16 11:50:45
|
显示全部楼层
| ||
routeros
|
||
| |
routeros
|
|
|Archiver|手机版|小黑屋|软路由 ( 渝ICP备15001194号-1|渝公网安备 50011602500124号 )
GMT+8, 2024-12-23 02:54 , Processed in 0.055902 second(s), 5 queries , Gzip On, Redis On.
Powered by Discuz! X3.5 Licensed
© 2001-2024 Discuz! Team.