fail2ban adds chains to any existing iptables, by default your fail2ban logs should be in the file defined by logtarget in fail2ban.conf, the level would be defined by loglevel in the same file. If Fail2ban is badly configured, it won’t do anything but the reason why would be in the log file.
I actually get this error when iI try to start f2ban manully:
]# fail2ban-client start
WARNING ‘action’ not defined in ‘lighttpd-fastcgi’. Using default value
WARNING ‘action’ not defined in ‘php-url-fopen’. Using default value
WARNING ‘action’ not defined in ‘lighttpd-auth’. Using default value
ERROR /etc/fail2ban/filter.d/freepbx.conf and /etc/fail2ban/filter.d/freepbx.local do not exist
ERROR Unable to read the filter
ERROR Errors in jail ‘pbx-gui’. Skipping…
ok, thanks for your help, I have it working now, I went to jail.local and commented everything related to freepbx-gui and changed the line asterisk by asterisk-security.