最佳答案
acl 阻断
交换机阻断高危端口的配置方法如下(适用于H3C系列交换机):
创建ACL阻断规则
使用ACL批量封堵常见高危端口(如135/137-139/445/3389等)的双向流量:
acl number 3210 rule 0 deny tcp destination-port eq 135 rule 1 deny udp destination-port eq 135 rule 2 deny tcp destination-port eq 137 ule 3 deny udp destination-port eq netbios-ns # UDP 137 rule 4 deny tcp destination-port eq 138 rule 5 deny udp destination-port eq netbios-dgm # UDP 138 rule 6 deny tcp destination-port eq 139 rule 7 deny tcp destination-port eq 445 rule 8 deny udp destination-port eq 445 rule 9 deny tcp destination-port eq 3389 rule 10 deny udp destination-port eq 3389 rule 20 deny tcp source-port eq 135 # 反向流量控制 ...(同上补充源端口规则)rule 1500 permit ip # 放行其他流量
应用ACL到端口
将ACL绑定到需要防护的端口(以GigabitEthernet1/0/1至1/0/24为例):
interface range gigabitethernet 1/0/1 to gigabitethernet 1/0/24
packet-filter 3210 inbound # 入方向生效
packet-filter 3210 outbound # 出方向生效
quit
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论