I would like to “containerize” fail2ban in my own container, but I did not suspect that it could not set iptables rules in other containers. For example: to protect the nginx installation, would you need to set the iptables rules in the nginx container? And although I can easily exchange the necessary log files from the nginx container to the fail2ban container, fail2ban will not be able to apply iptables prohibition rules to the nginx container without any specially configured fail2ban action?
source share