Scrollout F1 email gateway Server Security ( post-installation ) ( fail2ban ) Prevent bruteforcing

Prevent Brute-forcing of logins

install fail2ban

create the scrollout f1 regex file: /etc/fail2ban/filter.d/scrollout-f1.conf

Create fail2ban config for scrollout-f1
We are also adding SSH and SSH DDOS protections
add the following to the bottom of the /etc/fail2ban/jail.local file

Optional: Test fail2ban

Restart fail2ban to apply the setting

Removing a banned ip

Viewing banned ip’s and the status of the filter

Status for the jail: scrollout-f1
|- filter
| |- File list: /var/log/apache2/error.log
| |- Currently failed: 0
| – Total failed: 0
– action
|- Currently banned: 0
| – IP list:
– Total banned: 0

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *