We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
fail2ban configuration file
fail2ban configuration file
Hello all,
I am completely new to VestaCP.
I just need to confirm that the correct configuration file for the fail2ban jails is:
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?
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
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?
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: fail2ban configuration file
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