New Extension for Plesk. Antivirus Protection to enhance your server security. Why choose Flex Antivirus?

Help

Action Log

Create daily log files of IP address blocks

Plesk Windows Server IIS Firewall Logs

You can enable a detailed log of all blocking actions. Follow these steps on your Windows server.

Method 1: From Regedit

Connect via Remote Desktop (RDP). Press Win + R, type regedit, and press Enter.

Regedit
Regedit view
Go to the path: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\FlexFirewall

Create the string named "Log.BlockActions" and set its content to the number 1. To disable it, set it to 0

Regedit path
Regedit path view

Where are the files?

%plesk_dir%admin\logs

Log files
Log files view

You can use the direct method from the CMD console:

REG ADD "HKLM\SOFTWARE\Wow6432Node\FlexFirewall" /f /v "Log.BlockActions" /t REG_SZ /d "1"

Method 2: Locate the panel.ini file


The panel.ini file controls the advanced configuration options of the Plesk panel. Find it at the following path on your Windows server:

%plesk_dir%admin\conf\panel.ini

Connect via Remote Desktop (RDP) to the server to edit the file, or use the official Plesk extension Panel.ini Editor from the web panel itself.

panel.ini file in Plesk
View of the panel.ini file on the server

Add the configuration code


Open the panel.ini file with a text editor (Notepad or similar) and add the following lines at the end of the file:

[ext-flex-firewall-manager]\nLog.BlockActions=1;

Important: Make sure to add the [ext-flex-firewall-manager] block only once. If that section already exists in the file, simply add the line Log.BlockActions=1; inside it.

Complete steps


1

Access the server

Connect via Remote Desktop (RDP) or open the Panel.ini Editor extension from Plesk.

2

Open the panel.ini file

Navigate to the path %plesk_dir%admin\conf\panel.ini and open it with Notepad or another text editor.

3

Add the configuration block

Copy and paste the [ext-flex-firewall-manager] block with Log.BlockActions=1; at the end of the file.

4

Save and verify

Save the file and go back into the main menu of Flex Firewall Manager from the Plesk Administrator account to verify that the changes have been applied.

Done. Once the file is saved, the setting will take effect within the next 2 minutes.