I installed fail2ban but on start I got multiple error messages:
iptables -n -L gives me 0 references for each jail. (should be 1?)
Chain INPUT (policy ACCEPT)
target prot opt source destination
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
Chain fail2ban-apache-auth (0 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0
Chain fail2ban-apache-badbots (0 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0
Chain fail2ban-apache-nokiddies (0 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0
Chain fail2ban-php-url-fopen (0 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0
Also I m getting error messages like:
fail2ban.actions.action: ERROR iptables -N fail2ban-ssh
iptables -A fail2ban-ssh -j RETURN
iptables -I <known/chain> -p tcp -m multiport --dports ssh -j fail2ban-ssh returned 200
2022-04-30 14:25:10,428 fail2ban.jail : INFO Jail 'skinlou_x' started
2022-04-30 14:25:10,429 fail2ban.jail : INFO Jail 'apache-auth' started
2022-04-30 14:25:10,430 fail2ban.actions.action: ERROR iptables -N fail2ban-php-url-fopen
iptables -A fail2ban-php-url-fopen -j RETURN
I tried to reinstall fail2ban but it is always same. Thank you for help.