原文:
http://bbs.routerclub.com/thread-74654-1-5.html
ROS首页强开配置 脚本: /ip firewall nat add action=dst-nat chain=dstnat comment=ToAddress disabled=no dst-port=80 protocol=tcp src-address-list=src1 to-addresses=192.168.88.1 to-ports=80 /ip firewall mangle add action=add-src-to-address-list address-list=src1 address-list-timeout=3s chain=prerouting comment=TimeOut1 disabled=no dst-port=80 protocol=tcp src-address-list=!src2 add action=add-src-to-address-list address-list=src2 address-list-timeout=3h chain=prerouting comment=TimeOut2 disabled=no dst-port=80 protocol=tcp src-address-list=src1 备注: 1,192.168.88.1为内网首页强开WEB服务器IP。 2,强开3秒,强开过的IP在3小时内不会再强开。 |