|
jail.local should be just like jail.conf with only the name of the
jail you what to change from default and the setting you want to
change, so, for example to enable the postfix jail you need two
lines: [postfix] enabled = true In 0.9.x there are a heck of a lot of defaults further up the jail.conf so they don't get repeated in the jails, so, for example the default filter name now always matches the jail name and the default rule is iptables-multport (which also works for a single port) Nick On 02/10/2015 19:38, Anthony Griffiths
wrote:
I'm running centos 6 and I've just installed fail2ban-0.9.2-1.el6.noarch using yum. I notice straight away the jail.conf file looks different and I can't get fail2ban to ban anything. After trawling google I can't find an up-to-date working sample jail.local file as a reference. The program starts fine, it just doesn't ban anything and no fail2ban rules are generated in iptables. I've used previous versions of fail2ban many times but this new version has me stumped. Can anyone point me to an example of how this new jail.local file should look?------------------------------------------------------------------------------ _______________________________________________ Fail2ban-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fail2ban-users |
------------------------------------------------------------------------------
_______________________________________________ Fail2ban-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fail2ban-users
