Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Dev Section Modification & Patches
  • Search

How to config Fail2Ban for RoundCube intrusions

Section with modification and patches for Vesta
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
Wibols
Posts: 21
Joined: Tue Jun 25, 2019 7:42 pm

Os: CentOS 6x
Web: apache + nginx
How to config Fail2Ban for RoundCube intrusions
  • Quote

Post by Wibols » Thu Jul 04, 2019 9:27 am

You must to add to "/etc/fail2ban/jail.local" file (in Server > Fail2Ban > Configure) the next jail:

For Debian/Ubuntu:

Code: Select all

[roundcube-auth]
enabled = true
action  = vesta[name=WEB]
logpath  = /var/log/roundcube/errors
maxretry = 5
For CentOS:

Code: Select all

[roundcube-auth]
enabled = true
action  = vesta[name=WEB]
logpath  = /var/log/roundcubemail/errors.log
maxretry = 5
Visit How to solve missing /var/log/roundcubemail/errors.log on CentOS

To view banned IP's list from terminal (Chain fail2ban-WEB):

Code: Select all

sudo iptables -L
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “Modification & Patches”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password