Firewall operation varies from Vista to Win7

  

Introduction to Win7 System Firewall

At first, XP integrated firewalls were often seen as ribs, but now the powerful features of Win7 Firewall have a little bit of "professional" flavor. Today, I will teach you how to use the Win7 firewall. The same as Vista, you can configure the Windows7 firewall by accessing the control panel program. Unlike Vista, you can also perform advanced configuration (including configuration of outbound connection filters) by accessing the control panel instead of having to create a blank MMC and join the embedded snap-in. Just click on the advanced configuration option in the left panel.

Of course, if you read "I am the first secret of Windows7 master … …" this article, you will have a better way to quickly open the Windows 7 firewall settings under Win7 . That is, you can type "firewall" in the search box of the start menu, as shown below:


Vista firewall allows you to choose whether to be on the public grid or In a private network, you have three choices in Windows 7 - public network, home network, office network. The latter two options are the refinement of the private network.


If you choose the "Home Network" option, you will be able to create a "family group". In this environment, "network discovery" will start automatically, you will be able to see other computers and devices on the network, and they will also be able to see your computer. Computers belonging to the “family group” can share pictures, music, videos, document libraries, and hardware devices such as printers. If you have folders that you don't want to share in the document library, you can also exclude them.

If you choose "Work Network", "Network Discovery" will also start automatically, but you will not be able to create or join the "family group". If your computer is joined to a Windows domain (via Control Panel - System and Security - System - Advanced System Configuration - Computer Name tab) and verified by DC, the firewall will automatically recognize the network type as the domain environment network.

And the "public network" type is the appropriate choice when you are in the airport, hotel, cafe or use the mobile broadband network to connect to the public wi-fi network, "network discovery" will be turned off by default. So that computers on other networks will not discover your shares and you will not be able to create or join the "family group".

In all network modes, Windows 7 Firewall will block any connection sent to applications that are not whitelisted by default. Windows 7 allows you to configure different network types separately.

Multi-Action Firewall Policy

In Vista, although you have two profiles for public and private networks, only one will work for a specified amount of time. So if your computer happens to connect two different networks at the same time, then you have to be unlucky. The most restrictive profile will be taken by the user to all connections, which means you may not be able to do what you want on the local (private) network because you are operating under the rules on the public network. In Windows 7 (and Server 2008 R2), different profiles can be used on different network adapters. That is to say, the network connection between the private networks is governed by the private network rules, and the traffic between the public networks applies the public network rules.

It's the little things that don't stand out.

In many cases, better usability often depends on small changes, MS listens to users' opinions and some "not conspicuous" And it works on small things & rdquo; joined the Windows 7 firewall. For example, when you create a firewall rule in Vista, you must list each IP address and port separately. Now you only need to specify a range, so the time spent on performing general management tasks is greatly reduced.

You can also create Connection Security Rules in the firewall console to specify which ports or protocols have the need to use IPsec without having to use the netsh command. For those who like the GUI, this is A more convenient improvement.

Connection Security Rules also supports dynamic encryption. This means that if the server receives an unencrypted (but verified) message from the guest, the security association will request encryption through the negotiated "running" to establish a more secure communication.

Configuring the configuration file in “Advanced Settings 

Using the “Advanced Settings&Control Panel, you can set the configuration file for each network type.


For configuration files, you can do the following:

* Turn on/off the firewall

* (block, block all connections or allow) inbound Connection

* (Allow or Intercept) Outbound Connections

* (Is it notified if a program is blocked) Notification Display

* Allow unicast to multicast or Broadcast Response

* Allow local administrators to create and apply local firewall rules in addition to Group Policy firewall rules

About configuring system firewall with netsh.exe

(1). Open or disable the system firewall

Open a command prompt and enter the input command <quo;netsh firewallshow state” Then press Enter to check the status of the firewall. From the displayed results, you can see the disable and enable of each function module of the firewall. . The command "netsh firewall set opmode disable" is used to disable the system firewall. Instead, the command "netsh firewall set opmode enable" enables the firewall.

(2). Allow file and print sharing

File and print sharing are commonly used in local area networks. If you want to allow clients to access shared files or printers of this machine, you can enter and execute them separately. The following command:

netsh firewall add portopening UDP 137 Netbios-ns

(allows clients to access port 137 of the server UDP protocol)

netsh firewall add portopening UDP 138 Netbios- Dgm

(allows access to port 138 of the UDP protocol)

netsh firewall add portopening TCP 139 Netbios-ssn

(allows access to TCP port 139)

netsh firewall add portopening TCP 445 Netbios-ds

(Allow access to TCP port 445)

After the command is executed, the ports required for file and print sharing are released by the firewall. .

(3). Allow ICMP echo

By default, Windows 7 does not allow external hosts to ping it for security reasons. However, in a secure LAN environment, the Ping test is necessary for the administrator to perform network testing. How to allow the Windows 7 ping test to be echoed?

Of course, through the system firewall console, you can go through the system firewall console. The Inbound Rules " <; file & print share (echo request & ndash; ICMPv4-In) & rdquo; rule is set to allow (if the network uses IPv6, it also allows ICMPv6-In rules.). However, we can quickly implement the netsh command from the command line. Execute the command “netsh firewall set icmpsetting 8” to enable ICMP echo, and vice versa. “netsh firewall set icmpsetting 8 disable” can be turned off.



Copyright © Windows knowledge All Rights Reserved