- Plesk 12.5 for Linux
- Plesk Onyx for Linux
How to block an IP address in Plesk Firewall?
Go to Plesk > Tools & Settings > Firewall.
Note: If Firewall is not presented then it is not installed. Install it using this article.
Click on Modify Plesk Firewall Rules.
Note: If only Enable Firewall Rules Management is presented, press on it in order to enable firewall first. Then, follow instructions on the screen.
Press Add Custom Rule.
Fill Name of the rule field, set Match direction according to the requirements and choose Deny in the Action field:
Set the port or the port range, mark TCP or UDP protocol according to the needs and press Add button. Added ports will be presented in the table on the left side:
Note: If no ports were specified the rule will be working for any port only for specified protocol.
Add the required IP address to field Add IP address or network: and press Add button. The added IP addresses will appear in the table on the left side:
Click Apply Changes.
Here are several examples: