Need help? Call us on 1300 789 260

Plesk Onyx - Enable Fail2Ban

Difficulty: Advanced

Prerequisites

  • Plesk admin credentials

Overview

This article will show you how to enable Fail2Ban within your Plesk Onyx based Virtual Private Server (VPS). Fail2Ban is a security module which can limit brute force attacks to your server.

NOTE: Secure passwords are far more critical than blocking brute force attempts. We have an article on securing your password here: Secure Passwords: Why They're Important.

Instructions

  1. Login to Plesk using your admin credentials.
  2. On the left hand side, select Tools and Settings , then IP Address Banning (Fail2Ban) :
  3. In the Settings tab, select the enable checkbox and click OK:
  4. To ensure you don't accidentally trigger the rule from your office, set your own IP in the Trusted IP Addresses. From the Trusted IP Addresses tab, add a new trusted IP and click OK.

    Note: It's highly recommended to have a business grade Internet plan with a static IP address.
  5. To begin enabling of the monitoring, select Jails, and select the jail to enable. Click on the Switch On button to enable this jail. For example, to enable the jail for Dovecot (POP3/IMAP), you'd select the following:
  6. You should see the jail then marked as active on the right hand side.
  7. Fail2Ban is now configured and running on your server. You can check for banned IP's and/or false positives under the Banned IP Addresses tab.
Was this article helpful? Yes No
👥

Having trouble? We’re here to help!

We’ve built our company with a serious focus on quality service. Feel free to give us a call!

1300 789 260