How to setup logging for your windows firewall

Status
Not open for further replies.

office politics

It's all just 1s and 0s
Messages
6,555
Location
in the lab
How to get more out of your Windows Firewall
So have you ever wondered how to tell if your Windows firewall is working? Ever notice that there is no information really telling you what is going on? Why not turn on the logging facilities for the firewall so you can see dropped packets and allowed connections?

To enable logging of dropped packets:

netsh firewall set logging droppedpackets=enable
To enable logging of connections:

netsh firewall set logging connections=enable
If you want to see the firewall configuration for logging:

netsh firewall show logging
There you have it. Turn it on and you will now be able to look at the log (default %windir%\pfirewall.log) and do your bidding.
 
Status
Not open for further replies.
Back
Top Bottom