I've been trying to set up Fail2Ban with my Vaultwarden server running on Docker, but I noticed a weird issue. After purposely entering the wrong password to trigger a ban, the IP clicked through even though Fail2Ban showed it was banned. The jail status confirmed one IP was banned, but I can still access my service through Nginx and Cloudflare. What's going on here?
1 Answer
Fail2Ban doesn’t actually block anything on its own. It triggers commands to ban an IP, but if those commands aren’t set up correctly, it won’t have any effect. Make sure your `banaction` settings are properly configured for your system. They define what happens when an IP gets banned or unbanned. Double-check those settings and see if they align with your setup.

Totally agree! It's all about ensuring your configurations work as expected. Checking the logs can help clarify if the right commands are being executed.