crc8 发表于 2011-12-3 15:28:21

ROS已设置定时上网,如果同时开启hostpot,则VIP功能失效。

本帖最后由 crc8 于 2011-12-3 15:29 编辑

版本4.9,LAN IP:192.168.200.0/24,设置某些时间段不能上网,但VIP=192.168.200.120此IP不受限制。在未启用Hostpot功能一切按照防火墙中的设置来,一旦开启hostpot,在规定的时间段内,VIP同样无法上网。要如何设置,才能在开启hostpot的情况下,让VIP在非上网时段同样可以正常上网呢? /ip firewall> filter
/ip firewall filter> pr
Flags: X - disabled, I - invalid, D - dynamic
0 X ;;; place hotspot rules here
   chain=unused-hs-chain action=passthrough

1   ;;; 00:00
   chain=forward action=drop src-address=192.168.200.0/24
   src-address-list=!vip time=0s-1m59s,sun,sat

2   ;;; 18:00
   chain=forward action=drop src-address=192.168.200.0/24
   src-address-list=!vip time=17h57m59s-17h59m59s,mon,tue,wed,thu,fri
/ip firewall filter> export
# dec/01/2011 18:03:21 by RouterOS 4.9
# software id = ***-***
#
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment=\
    "place hotspot rules here" disabled=yes
add action=drop chain=forward comment=00:00 disabled=no src-address=\
    192.168.200.0/24 src-address-list=!vip time=0s-1m59s,sun,sat
add action=drop chain=forward comment=18:00 disabled=no src-address=\
    192.168.200.0/24 src-address-list=!vip time=\
    17h57m59s-17h59m59s,mon,tue,wed,thu,fri
/ip firewall filter>
页: [1]
查看完整版本: ROS已设置定时上网,如果同时开启hostpot,则VIP功能失效。