On your Linux-based Plesk server, the firewall module is already installed and configured. You can view and change rules controlling connections to these services:
- Administrative Control panel
- Webserver, FTP Server, SSH Server, MySQL Server, PostgreSQL server
- Mail password change services
- VPN, DNS
The instructions below explain the following:
- How to locate the firewall module in Plesk,
- How to manage firewall rules,
- How to view and change the system policies, and
- How to add, change, and remove custom rules.
LOCATING THE FIREWALL MODULE IN PLESK
Follow these instructions to locate the Firewall module within the Plesk panel.
1) Log in to your Plesk Panel.
2) Navigate to the Server tab at the top of the page in Power User view.
3) Under the Security heading, you will find Firewall.
MANAGING FIREWALL RULES
1) Click Extensions in the left-hand menu, under Server Management. You can use this section to install or manage additional modules that add useful functions to Plesk panel.
2) Within Extensions Management, click Firewall.
You will see the list of predefined firewall rules.
3) Click Edit Firewall Configuration.
You will see the Firewall Tools and the list of predefined firewall rules.
4) To edit an existing system service rule, click on the service name you want to edit and you will find options to Allow, Deny, or Allow from selected sources, deny from others.
5) Make the necessary modification and click on to finish the process.
6) Alternatively, you can click green or red icon next to the policy name to toggle between allowing and denying connections.
7) You must click Apply Configuration in order to apply the firewall changes you have made.
MANAGING SYSTEM POLICIES
System policies define what is done with all incoming, outgoing, and transit communications that do not match the rules defined. You can find these system policies displayed at the bottom of the list of rules, as highlighted below.
1) Click on the icon next to the policy name you want to edit. This will toggle between allowing and denying that particular type of traffic.
2) To apply the changes, click OK. You must press Apply Configuration to ensure the changes are applied.
This completes the process of configuring system processes.
ADDING CUSTOM RULES
If you need to add a firewall rule that does not appear on the pre-defined set of rules in the Plesk firewall, you can follow these instructions to add a custom rule.
1) Click the Add Custom Rule icon at the top of the Firewall Management page.
2) Specify the rule name, direction, action, and port. Then click on OK.
3) Click on OK, and then remember to click Apply Configuration to make sure your changes are implemented.
This section of the starter guide explained how to manage firewall rules in Parallels Plesk panel, including managing firewall rules, managing system policies, and adding custom rules.