查看防火墙状态
netsh advfirewall show allprofiles
开启防火墙:
netsh firewall set opmode mode=enable
关闭防火墙:
netsh firewall set opmode mode=disable
查看防火墙状态
netsh advfirewall show allprofiles
开启防火墙:
netsh firewall set opmode mode=enable
关闭防火墙:
netsh firewall set opmode mode=disable