Docker and Fail2Ban | Blog

Docker and Fail2Ban

Posted August 9, 2017
Written by Sergio Rodrigues
Docker uses NAT and FORWARD comes before INPUT,  so it never reaches the fail2ban iptables rules

Change your jail.local global or for each rule
 
chain = INPUT
replace with
 
chain = FORWARD
That should now block

Comments

There are no comments

Post a comment