Yes, it was a selinux issue. I forgot to set it up on the second machine.

Thank you,


On Mon, Aug 12, 2013 at 3:11 PM, Dudi Goldenberg <> wrote:

>I've got two up-to-date CentOS installations, first of them is working fine, but I got problems running Fail2Ban on the second one. Using version v0.8.10 and iptables v1.4.7. When Fail2Ban wants to ban a user, it tries to enter a rule to iptables, but fails. See the log below. Iptables rules are unchanged.

>What is weird, that iptables is working from the command line. I was able to add a rule I wanted by hand.


What does sestatus say? seems like a selinux issue.