Fail2ban within container

bjiggler

New Member
Jan 20, 2017
2
0
1
54
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.)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!