Skip to main content

Fail2ban

Fail2Ban feature provides advanced security options to protect your applications. With custom configurations for jails and filters, as well as the ability to manage banned and ignored IP addresses, you have full control over your server's security.

If you want to enable fail2ban in ServerAvatar, follow the steps given below:

Step 1: First, log in to the ServerAvatar Account.

Step 2: Click on the Server Dashboard button.

Step 2

Step 3: Now, you will see the Applications option on the left-hand sidebar of the Server Panel. Click on Applications.

step 3

Step 4: Now, you will see the Applications table like the below image.

step 4

Step 5: Click on Application Name or Dashboard icon to access the application panel.

step 5

Step 6: Now, you will see the Fail2ban option on the left-hand sidebar of the Application Panel. Click on the Fail2ban.

Customizing Fail2Ban Settings

The Fail2Ban page in the application panel allows you to create custom configurations for jails and filters to tailor security settings according to your application's needs.

Jail Configuration

The "Jail Configuration" lets you define specific rules to protect your application. Customize parameters such as ban time, find time, and max attempts to create a robust defense against potential threats.

Jail Configuration

Filter Configuration

With the "Filter Configuration" you can design custom filters to detect and analyze malicious behavior. Create precise patterns and rules to identify threats and trigger appropriate actions.

Filter Configuration

Managing Ban and Ignore IP Addresses

Fail2Ban provides a simple table with two tabs - "Ban IPs" and "Ignore IPs" - to help you manage IP addresses effectively.

Ban IP

The "Ban IP" tab displays a table containing IP addresses that are currently ban from accessing your server. You have the option to remove a ban by clicking the "Delete" button next to the respective IP address.

Managing Ban IP Addresses

Ignore IP

The "Ignore IP" tab displays a table containing IP addresses that are explicitly ignore by Fail2Ban. Ignore IPs will not be banned. You can remove an IP from the ignore list by clicking the "Delete" button next to the respective IP address.

Managing Ignore IP Addresses

Adding IP Addresses for Ban or Ignore

You can add IP addresses to the Ban or Ignore lists using the "Add" button. Clicking the "Add" button will open a form in a modal where you can specify the IP address. Submit the form to add the IP to the respective list.

Add Ban IP Address

Adding IP Addresses for Ban

Add Ignore IP Address

Adding IP Addresses for Ignore