Skip to main content

How to add Filters in Fail2Ban on CloudPanzer?

In Fail2Ban, filters are essential components used to define patterns and rules that detect malicious or suspicious behavior in log files. Filters enable Fail2Ban to identify specific events or actions within log entries and subsequently take actions, such as banning IP addresses, based on these patterns. Each service monitored by Fail2Ban typically has its own filter, which specifies what to look for in the logs.

How to install a Server
Follow the steps below to add Filters in Fail2Ban.

1: Once you are logged in, look for a "Server" and click on it.

image.png

2. Select the Fail2ban option.

image.png

3. Click on the Filters button.

image.png

4. Click on the Add New button.

image.png

5.  Fill in the details and click on the Create button. Then click on the Create button.

image.png

6. Here, a new filter has been created. You can also check events by clicking on the file icon.

image.png


Looking for mobile App Instructions?
Available at: https://kb.cloudpanzer.com/books/mobile-app/page/how-to-create-filter-in-fail2ban-through-the-cloudpanzer-website