|
发表于 2005-8-1 13:38:51
|
显示全部楼层
Post by cls
block in quick all with short
block in quick all with ipopts
block in log quick all with short
block in log quick all with ipopts
pass in quick on vr0 proto tcp from 192.168.0.10/32 to any port = 25 keep state
pass in quick on vr0 proto tcp from 192.168.0.10/32 to any port = 110 keep state
block in quick on vr0 from 192.168.0.10/32 to any
pass in quick on lo0 all
pass out quick on lo0 all
pass in quick all
pass out quick all
我所有的规则是这样的。
vr0 是外网卡
vr1 是内网卡
用vr1的话。指定的客户机就连内网也上不了。
vr0 什么反应也没有。一样能上呀
block in quick all with ipopts
block in log quick all with short
block in log quick all with ipopts
pass in quick on lo0 all
pass out quick on lo0 all
pass in quick on vr0 proto tcp from 192.168.0.10/32 to any port = 25 keep state
pass in quick on vr0 proto tcp from 192.168.0.10/32 to any port = 110 keep state
pass in quick on vr1 all keep state
pass out quick on vr1 all keep state
pass out quick on vr0 all keep state |
|