摘要: 限线程脚本: :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 阅读全文
posted @ 2012-01-14 01:41 wwh 阅读(627) 评论(0) 推荐(0) 编辑
摘要: Web 80端口优先/ip firewall mangleadd chain=prerouting protocol=tcp dst-port=80 action=mark-packet new-packet-mark=web passthrough=yes comment="web" disabled=no/queue treeadd name="web" parent=ether1-WAN packet-mark="web" limit-at=0 queue=default priority=3 max-limit=0 burst 阅读全文
posted @ 2012-01-14 01:40 wwh 阅读(966) 评论(0) 推荐(0) 编辑
摘要: /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 阅读全文
posted @ 2012-01-14 01:39 wwh 阅读(641) 评论(0) 推荐(0) 编辑