Plesk

Plesk Firewall can not be enabled in Plesk 18.0.52 and newer: I did not receive connectivity confirmation after applying new firewall configuration

Symptoms

Cause

Product issue:

Resolution

  1. Update the Plesk Firewall extension to the version 2.0.2 or higher.

  2. Extend the confirmation timeout by adding the following lines to the end of panel.ini file with this instructions:

    [ext-firewall]
    confirmTimeout = 15 ; the timeout in seconds before the configuration is rolled back
    confirmTimeoutCli = 60 ; the timeout in seconds for the --confirm CLI command

Workaround

If an update is not possible for some reason try the following workaround:

workaround

  1. Connect to the server via SSH.

  2. Edit the file /usr/local/psa/admin/sbin/modules/firewall/rules and set DEFAULT_CONFIRM_INTERVAL to 30:

    # grep DEFAULT_CONFIRM_INTERVAL /usr/local/psa/admin/sbin/modules/firewall/rules
    DEFAULT_CONFIRM_INTERVAL = 30

Exit mobile version