当前位置: 正能量 » 代码编程 » 路由器 » ROS首页强开配置

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小时内不会再强开。

未经允许不得转载:正能量 » ROS首页强开配置

相关文章

评论 (0)

6 + 1 =