Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion RHEL/CentOS
  • Search

fail2ban configuration file

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
jtwhite93
Posts: 2
Joined: Thu Feb 11, 2016 1:59 am

fail2ban configuration file
  • Quote

Post by jtwhite93 » Thu Feb 11, 2016 2:02 am

Hello all,

I am completely new to VestaCP.

I just need to confirm that the correct configuration file for the fail2ban jails is:

Code: Select all

/etc/fail2ban/fail2ban.jail.conf
When you setup fail2ban manually you have to create a jail.local file and I do not see one of those, however, I see settings in the /etc/fail2ban/fail2ban.jail.conf file. I just want to make sure I'm looking at the right one.

Thank you much for your help.

Maybe if someone has the time they could update https://vestacp.com/docs/#config-log-lo ... hel-centos with the config location for fail2ban?
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: fail2ban configuration file
  • Quote

Post by tjebbeke » Thu Feb 11, 2016 9:36 am

I think that you need to create the files by yourself.

Code: Select all

cd /etc/fail2ban/
ls -la
total 72
drwxr-xr-x  6 root root  4096 Nov  7 08:21 .
drwxr-xr-x 94 root root  4096 Jan 17 13:56 ..
drwxr-xr-x  2 root root  4096 Nov  7 08:21 action.d
-rw-r--r--  1 root root  2313 Oct 17 11:29 fail2ban.conf
drwxr-xr-x  2 root root  4096 Oct 17 11:29 fail2ban.d
drwxr-xr-x  3 root root  4096 Nov  7 08:21 filter.d
-rw-r--r--  1 root root 18558 Oct 17 11:29 jail.conf
drwxr-xr-x  2 root root  4096 Oct 17 11:29 jail.d
-rw-r--r--  1 root root   710 Oct 21  2014 jail.local
-rw-r--r--  1 root root  1939 Jul 31  2015 paths-common.conf
-rw-r--r--  1 root root   642 Jul 31  2015 paths-debian.conf
-rw-r--r--  1 root root   743 Jul 31  2015 paths-fedora.conf
-rw-r--r--  1 root root  1174 Jul 31  2015 paths-freebsd.conf
-rw-r--r--  1 root root   290 Jul 31  2015 paths-osx.conf
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • 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
 

 

cron

Login  •  Register

I forgot my password