F1070防火墙如何做高危端口封堵,web和命令行该如何配置
(0)
最佳答案
用acl
# acl advanced 3100
description 勒索病毒
rule 0 deny tcp destination-port eq 445
rule 5 deny udp destination-port eq 445
rule 10 deny tcp destination-port eq 135
rule 15 deny udp destination-port eq 135
rule 20 deny tcp destination-port eq 136
rule 25 deny udp destination-port eq 136
rule 30 deny tcp destination-port eq 137
rule 35 deny tcp destination-port eq 138
rule 40 deny tcp destination-port eq 139
rule 45 deny udp destination-port eq netbios-ns
rule 50 deny udp destination-port eq netbios-dgm
rule 55 deny udp destination-port eq netbios-ssn
#
(0)
在命令行你这样配置就行。配置完成后到web页面刷新一下,你就能看到对应的策略了
rule 350 name deny-OUT-IN-HighRiskPort
source-zone Untrust
destination-zone Trust
destination-zone Local
service-port tcp source eq 135
service-port tcp destination eq 135
service-port tcp destination eq 137
service-port tcp destination eq 138
service-port tcp destination eq 139
service-port tcp destination eq 445
service-port tcp source eq 137
service-port tcp source eq 138
service-port tcp source eq 139
service-port tcp source eq 445
service-port udp source eq 135
service-port udp destination eq 135
service-port udp destination eq 445
service-port udp source eq 445
#
rule 400 name deny-IN-OUT-HighRiskPort
source-zone Trust
source-zone Local
destination-zone Untrust
service-port tcp source eq 135
service-port tcp destination eq 135
service-port tcp destination eq 137
service-port tcp destination eq 138
service-port tcp destination eq 139
service-port tcp destination eq 445
service-port tcp source eq 137
service-port tcp source eq 138
service-port tcp source eq 139
service-port tcp source eq 445
service-port udp source eq 135
service-port udp destination eq 135
service-port udp destination eq 445
service-port udp source eq 445
(0)
暂无评论
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
暂无评论