Fail2ban within container

bjiggler

New Member
Jan 20, 2017
2
0
1
55
Hi
I am trying to set up fail2ban within one of my containers and have enabled the firewall option of both the host and the container yet and rule that gets added to the container by fail2ban appears to be ignored - can anyone point me in the right direction please?

Thanks
 
If you set it up within your container it'll be configuring the container's inner firewall. This is not the same firewall you activate and configure in the PVE GUI. Containers can use iptables/nftables on the inside the usual way, so you should debug it on the inside the usual way. (Check iptables-save output and logs and compare to the fail2ban configuration etc.)