Plesk Firewall lets a Linux server administrator allow or restrict network connections to services. This guide explains how to review an existing rule or add a specific rule using the installed Firewall extension.
Before you change the rules
Install the Firewall extension and open Tools & Settings > Firewall. Review the existing configuration and keep a working recovery console available.
Do not use Plesk Firewall and firewalld to manage the same firewall at the same time. Check the ports needed for Plesk, SSH and your hosted services before changing a policy.
A rule or policy can immediately block remote administration or interrupt hosted services. Keep the existing session open and test from another connection after applying changes.
Edit an existing rule
- Log in to Plesk as an administrator.
- Open Tools & Settings > Firewall.
- Check the Firewall protection status. Enable it only after reviewing the rules that will apply.
- Open the intended rule or policy.
- Make the specific change required and click Save.
- Click Apply Changes, then Apply.
- Test the affected connection and the server’s administration access.
Policies cover broad categories of traffic. Rules are more specific and override policies, so review both when investigating the result.
Add a custom rule
- Click the add-rule button on the Firewall page.
- Enter a descriptive name and select the traffic direction and action.
- Specify the required protocol, ports and source or destination addresses shown in the form.
- Save the rule, apply the changes and test the intended access.
Use only the addresses and ports needed for the task. If a change blocks access, use the recovery console to restore the recorded configuration.