Applicable to:
- Plesk for Linux
Question
How to install the Plesk Firewall component?
Answer
In Plesk for Windows Server, Plesk Firewall comes pre-installed. Plesk Firewall appears under the Security section in Tools & Settings.
Note: On CentOS 8, first firewalld must be disabled and the iptables package must be installed.
To install Plesk Firewall in Plesk for Linux, click on one of the following sections and follow the steps:
-
In Plesk, go to Tools & Settings > Updates (Updates and Upgrades).
Note: If Plesk Web Installer does not open, refer to the command-line instructions.
-
On the Updates and Upgrades page, click Add/Remove Components.
-
On the Add/Remove Components page, expand Plesk extensions and click Plesk Firewall > Install. Click Continue to begin the installation.
-
Connect to a Plesk server via SSH.
-
Run the command:
# plesk installer add --components psa-firewall
Additional Information
To learn more about managing firewall rules in Plesk, visit this KB article.
Comments
2 comments
Plesk Firewall and Fail2Ban are incompatible. Plesk Firewall will delete all Fail2Ban rules in some cases.
Hi @Marco Marsala!
That is indeed possible under some circumstances, I suggest subscribing to the following article in order to be notified when it will be fixed:
https://support.plesk.com/hc/en-us/articles/360009975974
Please sign in to leave a comment.