新增规则:
netsh advfirewall firewall add rule name= "TCP80" dir=in action=allow protocol=TCP localport=80

删除规则:
netsh advfirewall firewall delete rule name= "TCP80"

标签: none

评论已关闭