|
|
楼主 |
发表于 2011-3-15 19:33:11
|
显示全部楼层
本帖最后由 kyer2012 于 2011-3-15 19:35 编辑
cooljay 发表于 2011-3-15 14:23
这个英文不复杂吧,
new:新建
established:已建立
不知道意思,没把我表达的意思说出来!
应该是这个connection State 建立、无效、延时,这个参数对整个策略的影响有什么关系!
/ ip firewall filter
add chain=input protocol=icmp connection-state=new action=drop comment="" disabled=no
例如上面为什么加多一个 connection-state=new
/ip firewall mangle
add action=mark-connection chain=prerouting comment=NTH-1 connection-state=new disabled=no new-connection-mark=1con nth=2,1 \
passthrough=yes src-address=192.168.0.0/16
add action=mark-routing chain=prerouting comment="" connection-mark=1con disabled=no new-routing-mark=1rou passthrough=no \
src-address=192.168.0.0/16
add action=mark-connection chain=prerouting comment=NTH-2 connection-state=new disabled=no new-connection-mark=2con nth=2,2 \
passthrough=yes src-address=192.168.0.0/16
add action=mark-routing chain=prerouting comment="" connection-mark=2con disabled=no new-routing-mark=2rou passthrough=no \
src-address=192.168.0.0/16
NTH策略上面为什么要加多一个 connection-state=new
/ip firewall filter
add action=accept chain=input connection-state=established disabled=yes
add action=accept chain=input connection-state=related disabled=yes
等等。。。。。。。。。。
|
|