免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1541 | 回复: 1
打印 上一主题 下一主题

求助:h3c s5500 acl 配置问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2016-09-16 18:44 |只看该作者 |倒序浏览
本帖最后由 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方向的数据为什么会受影响呢?
请各位指教!谢谢!

论坛徽章:
0
2 [报告]
发表于 2016-09-20 08:56 |只看该作者
问题已经解决了,是tcp三次握手中,第二次握手是对方发数据回来时被acl阻止了,所以不能访问外网了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP