Working Fail2ban WebAuth Config

Nov 27, 2020
There you go, there is a github repo but he forgot one line in the jail config


before = common.conf


__suffix_failed_login = (AUTH_ERR|invalid credentials|user account disabled or expired).?

failregex = authentication failure; rhost=\[<HOST>\]:\d+ user=.* msg=%(__suffix_failed_login)s

ignoreregex =


enabled = true
port = https,http,8007
filter = pbs-web-aut
logpath = /var/log/proxmox-backup/api/auth.log
maxretry = 2
bantime = 3600


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!