Problem using fail2ban with ipfw

Discussion in 'Installation/Configuration' started by edupinhata, Jun 25, 2015.

  1. edupinhata

    edupinhata New Member


    I'm trying to make fail2ban ban wrong attempts on roundcube (using dovecot as imap).
    It works when I let the ban action "iptables-multiport". But as I'm using FreeBSD as OS, I have ipfw as firewall, and the action of iptables-multiport generate an error log on /var/log/fail2ban.log saying that can not execute the iptables.
    The problem is that when I change the banaction of [roundcube] in jail.local from iptables-multiport to ipfw, it doesn't do nothing, and I have no logs on /var/log/fail2ban.log. It also didn't create any new rule in ipfw.

    How do I make it work, at least make sure that the ipfw action is being triggered and if it's not, how do I fix it?

    Thank you.

Share This Page