Firewalls help improve the security of your computer. Windows firewall can restrict the information that is sent from other computers to users ' computers, which gives users greater control over the data on their computers and provides a defensive front for users or programs that try to connect to their computers without invitation, including viruses and worms.
If you are struggling to strike a balance between the increased security and the efficiency of maintaining the system due to fire prevention, I recommend that you read an article by Mr. Michael Howard, the master, to find out some specific details. Michael shows us how any group Policy for your local configuration and settings affects the firewall, and how the "netsh" command is used to pinpoint the internal mechanism of the firewall.
Netsh is a command-line scripting utility that allows users to display or modify the network configuration of the currently running computer from a local or remote location. Netsh also provides scripting capabilities that allow users to run a set of commands on a specified 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 ways in which new options are run. The Netsh commands are quite friendly by running the results on the computer commands on the author.
It's needless to say how to start the command.
C:> netsh firewall show?
The following command is a configuration that you can use to view the firewall:
Show allowedprogram– shows the allowed program configuration
Show config-shows the configuration of the firewall
Show CurrentProfile-Displays the current configuration file for Windows firewall.
Show Icmpsetting-show ICMP configuration in Windows Firewall
Show logging-Show logging configuration in Windows Firewall
Show multicastbroadcastresponse– Show Multicast/broadcast response configuration for firewalls
Show notifications-show notification configuration in Windows firewall
Show Opmode-Show action configuration in Windows Firewall
Show portopening-Show port configuration in Windows Firewall
Show service-Displays the services configuration in Windows Firewall
Show state-Displays the current status of Windows firewall
Of course, if you want to configure your firewall precisely, use the following command:
netsh firewall set allowedprogram editing the Allow program configuration in Windows Firewall
netsh firewall set icmpsettings edit ICMP configuration in Windows Firewall
netsh firewall set logging edit logging configuration in Windows Firewall
netsh firewall set notifications edit notification configuration in Windows firewall
netsh firewall set opmode edit operation configuration in Windows Firewall
netsh firewall set portopening edit port configuration in Windows Firewall
netsh firewall set service edit Services configuration in Windows Firewall
With these powerful tools in hand, it's much easier for us to configure our firewalls.