Articles in this section

Can firewalld and Plesk Firewall be used at the same time?

kb: how-to Plesk for Linux

Applicable to:

  • Plesk for Linux

Question

  • Can firewalld and the Plesk Firewall be used on a Linux Plesk server at the same time?

Answer

Both firewalld and the Plesk Firewall extension are tools for managing the underlying OS level iptables firewall. Since both of these tools lock iptables while operating, using both tools simultaneously will result in conflicts and in ports required for Plesk to operate being closed.

This is also explained on the following page of the Plesk Obsidian documentation:

Plesk for Linux and firewalld Compatibility | Plesk Obsidian documentation

You have to choose one of these tools only and remove the other. If you would like to use firewalld instead of the Plesk Firewall, please uninstall the Plesk Firewall by following the steps in this article:

How to install / uninstall Plesk components?

If you would like to use Plesk Firewall instead of firewalld (this is what we recommend), you must make sure that the firewalld service on your server is stopped and disabled, which can be achieved by following these steps:

1. Log into your server via SSH
2. Execute the following commands:

# sudo systemctl stop firewalld

# sudo systemctl disable firewalld

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.