lnwu 发表于 2016-09-16 18:44

求助:h3c s5500 acl 配置问题

本帖最后由 lnwu 于 2016-09-18 11:27 编辑

一台h3c s5500 交换机,没有配置任何vlan,24口上联到路由器eth1,其他口接server,路由器的Eth1地址为192.168.22.1/25,作为server的网关,server地址为192.168.22.*/25
配置如下acl
acl num 3100
rule 5 permit tcp destination 192.168.22.0 0.0.0.127 destination-port eq www
rule 10 permit tcp destination 192.168.22.0 0.0.0.127 destination-port eq 8080
rule 15 permit tcp destination 192.168.22.0 0.0.0.127 destination-port eq 443
rule 20 permit udp destination 192.168.22.0 0.0.0.127 destination-port eq dns
rule 25 permit tcp source 192.168.22.0 0.0.0.255 destination 192.168.22.0 0.0.0.127
rule 30 permit ip source 192.168.22.0 0.0.0.255 destination 192.168.22.0 0.0.0.127
rule 40 permit tcp destination 192.168.22.0 0.0.0.127 destination-port eq domain
rule 45 permit udp source 125.216.36.11 0 destination-port eq dns
rule 50 permit tcp source 125.216.36.11 0 destination-port eq domain
rule 55 permit udp source 125.216.36.123 0 destination-port eq dns
rule 60 permit tcp source 125.216.36.123 0 destination-port eq domain

rule 100 deny ip destination 192.168.22.0 0.0.0.127

acl目的是对任意地址开放80,8080,443,DNS等端口,对192.168.22.0/24开放全部端口,住址其它地址访问192.168.22.0/25的非80,8080,443,DNS等端口,
在交换机的24口应用acl in方向后发现服务器不能访问外网了,请教这个是怎么回事,要怎么改acl呢?
应用到in方向后out方向的数据为什么会受影响呢?
请各位指教!谢谢!

lnwu 发表于 2016-09-20 08:56

问题已经解决了,是tcp三次握手中,第二次握手是对方发数据回来时被acl阻止了,所以不能访问外网了。
页: [1]
查看完整版本: 求助:h3c s5500 acl 配置问题