0
how to enable windows firewall log
hi sorry if my english bad i try to enable windows firewall log with python Address in windows== Control Panel\All Control Panel Items\Windows Firewall > Properties > public profile > logging and change Customize can you help me ?
1 Odpowiedź
+ 1
Method 1: Windows Firewall GUI
Open the Advanced Firewall Management Snap-in (WF.msc)
Select the Action | Properties from the main menu
On the Domain Profile tab, click Customize under the Logging section.
Increase the file maximum size.
Turn on logging for dropped packets
Turn on logging for successful connections
Method 2 – PowerShell
Open a PowerShell window as Administrator and execute:
Set-NetFirewallProfile -name domain -LogMaxSizeKilobytes 10240 -LogAllowed true -LogBlocked true
By default your firewall will start logging to %systemroot%\system32\LogFiles\Firewall\pfirewall.log.
You may like to change this to a central logging server.