Win7 safely closes the ports of 139, 135, 445, etc.

  

How to safely close ports 139, 135, and 445 for Win7

1. At the Start & rdquo; menu selection " run & rdquo;, enter “gpedit.msc” and press Enter to open the local Group Policy Editor. Expand “Computer Configuration---Windows Settings---Security Settings---ip Security Policy, on the local computer 

2. Take 135 port as an example (other ports operate the same):

Right-click in the space to the right of the local Group Policy Editor and select "Create IP Security Policy" to bring up the IP Security Policy Wizard dialog box, click Next; in the dialog box that appears Write at the name "close the port" (can be filled in at any time), click Next; in the dialog box, click the "Activate default response rule" option, do not check the box, and then click Next; check "“ edit attribute" , click Finish.

3. In the “Close Port Properties” dialog box that appears, select the “Rules” tab, remove the “Use Add Wizard” and click “> Add & rdquo” ; button;

4, in the pop-up "New Rule Properties" dialog box, select the "IP Filter List" tab, click "Add" in the lower left corner > Add & rdquo;

5, the Add dialog box appears, the name is filled out & ldquo; seal port & quoquo; (can be filled in at any time), remove “ use the Add Wizard & rdquo; in front of the check, click on the right side of the "Add & rdquo; button

6. In the “IP Filter Properties” dialog box that appears, select ““Address" tab, “Source Address"Select“any”,“destination address”select “My IP address>; Select the “Protocol" tab, and the settings are as shown in the picture. Once set, click “OK">;

7. Return to “ip filter list”, click “OK”. Return to the "New Rule Properties" dialog box;

8. In the ip filter list, select the “seal port', and then select the <quo;Filter Actions" tab, Remove the “Use the Add Wizard” and click the “Add” button;

9. In the “Filter Action Properties” box, select the “Security Method” tab. Select the "Block" option; in the "General" tab, name the operation, click OK;

10. Select the newly created “New 1”, click Close, return to “ Close the port properties & ldquo; dialog box, confirm that the "IP security rules" in the middle of the port rules are selected, click OK;

11, in the Group Policy Editor, you can see the new "Close port" rule, select it and right click, select the "Assign & rdquo; option to make the rule start to apply!

At this point, you're done, the same method you can add to any You want to restrict access Rules
mouth

Note

Note: IPSEC Services This service must not stop Oh, stop ip strategies to lose its role. Use Windows Group Policy to shut down all dangerous ports you want to shut down at once.

Copyright © Windows knowledge All Rights Reserved