Configure fail2ban for proftpd

Post Reply
leito89
Posts: 5
Joined: Thu Mar 02, 2023 9:01 am

In the default config file /etc/fail2ban/jail.local , there is no setting for proftpd, only vsftpd. Add a setting to block proftpd:

Code: Select all

 mcedit /etc/fail2ban/jail.local

Code: Select all

[proftpd]
enabled=true
filter = proftpd
action = vesta[name=FTP]
port = ftp,ftp-data,ftps,ftps-data
logpath = %(proftpd_log)s
backend = %(proftpd_backend)s
maxretry = 7

Tags:
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

One month ago, I figured out the same.
I had the plan to fix that in the next update, so thank you very much for helping us with the fix :)
leito89
Posts: 5
Joined: Thu Mar 02, 2023 9:01 am

Good afternoon. If you (administrator) do not mind, then I will throw more posts. If not in the release, then in the wiki.
I spent time to master this. Let it help others.
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Feel free to do it, and be sure we are thankful for any help :)
Post Reply