h3c f1000防火墙上ip端口的设置规则,详细步骤

121.28.81.2 1002
121.28.81.2 1003
121.28.81.2 1004
121.28.81.2 1005
这个ip的这些端口只允许下面的ip访问
115.182.34.9
202.108.17.13
59.151.104.6
202.108.17.7

服务器:121.28.81.2
来访IP:115.182.34.9 、202.108.17.13 、59.151.104.6 、202.108.17.7

acl 3000
rule 0 permit tcp source 115.182.34.9 0.0.0.0 destination 121.28.81.2 0.0.0.0 destination-port 1002
rule 1 permit tcp source 115.182.34.9 0.0.0.0 destination 121.28.81.2 0.0.0.0 destination-port 1003
rule 2 permit tcp source 115.182.34.9 0.0.0.0 destination 121.28.81.2 0.0.0.0 destination-port 1004
rule 3 permit tcp source 115.182.34.9 0.0.0.0 destination 121.28.81.2 0.0.0.0 destination-port 1005
rule 4 permit tcp source 202.108.17.13 0.0.0.0 destination 121.28.81.2 0.0.0.0 destination-port 1002
……

在F1000的上联口的in方向做
traffic-filter inbound acl 3000

仅供参考
温馨提示:答案为网友推荐,仅供参考
第1个回答  2011-04-20
在哪个口上做,谁是进线,谁是出线(或者说谁主动发数据包)。那边的安全级高些.......追问

这个ip 121.28.81.2 的这些端口只允许下面的ip访问
xiexie

追答

楼上的算正解了
另外,看看firewall packet-filter default 是什么,
加上rule 9999 deny tcp any any
F1000的命令是 firewall packet-filter 3002 inbound

相似回答