禁止上网命令
::for aaa from 2 to 254 do={/ip firewall filter add chain="forward" dst-address=(192.0.0. . $aaa) action="drop" comment=(forbidden . $aaa)}
aaa为一变量, 变量范围 from xx to yy
dst-address 为地址范围
参考
http://www.wglm.net/article/software/routeros/20070628/347.html
文章评论(0条评论)
登录后参与讨论