Thursday, June 9, 2011

Windows 7 Firewall

Windows 7 firewall gives you a lot more options than WinXP's. However, it appears to change monitoring settings, you have to go to use "netsh" command and there is no easy GUI to change dropped connection or change log file size.

Here are a few commands:
  • change log file size:  netsh advfirewall set currentprofile logging maxfilesize 32767
  • log dropped packets:   netsh advfirewall set currentprofile logging droppedconnection enable
  • log successful connections:   netsh advfirewall set currentprofile logging logging allowedconnections enable
Here is a complete list of commands:
http://technet.microsoft.com/en-us/library/dd734783(WS.10).aspx

No comments:

Post a Comment