随笔分类 - RouterOS
摘要:限线程脚本: :for aaa from 2 to 254 do={/ ip firewall filter add chain=forward src-address=("192.168.1." . $aaa) protocol=tcp connection-limit=120,32 action=drop comment="Connection limit"} 限速脚本: :for aaa from 2 to 254 do={/ queue simple add name=("queue" . $aaa) target-addre
阅读全文
摘要:/ip firewall filter add chain=input connection-state=invalid action=drop comment="丢弃非法连接数据" disabled=no/ip firewall filter add chain=input protocol=icmp action=drop comment="禁止外网Ping" disabled=no in-interface=ADSLadd chain=input protocol=tcp psd=21,3s,3,1 action=drop comment=&quo
阅读全文