How to quickly solve the configuration problem of Windows Firewall

  

Firewalls help improve the security of your computer. Windows Firewall limits the information that is sent from other computers to users' computers, which gives users more control over the data on their computers and for users or programs (including viruses and worms) that attempt to connect to their computers without an invitation. ) provides a defensive front.

If you are struggling to strike a balance between the increased security of enabling fire protection and the efficiency of maintaining your system, then I recommend reading an article by Master Michael Howard for specific details. . Michael showed us how any of your local configuration and settings of the group policy affects the firewall, and how the "netsh" command is used to accurately reveal the internal mechanics of the firewall.

Netsh is a command-line script utility that allows users to display or modify the network configuration of a currently running computer locally or remotely. Netsh also provides scripting capabilities that allow users to run a set of commands on a given computer using batch mode. The Netsh utility can also save configuration scripts as text files for archiving or to help configure other servers.

The Netsh utility has been greatly enhanced in Windows XP Service Pack 2 and includes all the way to run new options. It can be seen from the results of the commands on the author's computer that the Netsh command is quite friendly.

How to start this command is not necessary.

C:> netsh firewall show?

The following commands can be used to view the configuration of the firewall:

show allowedprogram – shows the allowed programs Configuration

show config - Display firewall configuration

show currentprofile - Display current configuration file for Windows Firewall.

show icmpsetting - Display ICMP configuration in Windows Firewall

show logging - Display logging configuration in Windows Firewall

show multicastbroadcastresponse – Display firewall multicast/broadcast response configuration

show notifications - Display notification configuration in Windows Firewall < Br>

show opmode - Displaying Action Configurations in Windows Firewall

show portopening - Displaying Port Configurations in Windows Firewall

show service - Displaying Service Configurations in Windows Firewall

show state - shows the current state of the Windows Firewall

Of course, if you want to configure the firewall precisely, use the following command:

netsh firewall set allowedprogram Edit Allowed Program Configuration in Windows Firewall

netsh firewall set icmpsettings Edit ICMP Configuration in Windows Firewall

netsh firewall set logging Edit Logging in Windows Firewall Configuration

netsh firewall set notifications Editing notifications in Windows Firewall

netsh firewall set opmode Editing operations in Windows Firewall

netsh firewall set portopening Editing in Windows Firewall Port Configuration

netsh firewall set service Editing Service Configurations in Windows Firewall

With these powerful tools in hand, it is much easier to configure the firewall.

Copyright © Windows knowledge All Rights Reserved