码迷,mamicode.com
首页 > 其他好文 > 详细

关闭常见危险端口

时间:2019-07-18 21:20:43      阅读:119      评论:0      收藏:0      [点我收藏+]

标签:cti   cprofile   udp   add   常见   lock   fir   protoc   state   

netsh advfirewall set publicprofile state on >null
netsh advfirewall set currentprofile state on >null
netsh advfirewall firewall add rule name="135_139_445" protocol=TCP dir=in localport=135,139,445 action=block
netsh advfirewall firewall add rule name="137_138" protocol=UDP dir=in localport=137,138 action=block

 

关闭常见危险端口

标签:cti   cprofile   udp   add   常见   lock   fir   protoc   state   

原文地址:https://www.cnblogs.com/feiyucha/p/11209937.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!