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 3: Now, you will see the Applications option on the left-hand sidebar of the Server Panel. Click on Applications.
Step 4: Now, you will see the Applications table like the below image.
Step 5: Click on Application Name or Dashboard icon to access the application panel.
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.
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.
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.
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.
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.
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.
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.