Update Fail2Ban wiki page with rules to block /admin bruteforce #3821

Closed
opened 2026-03-07 19:14:19 -06:00 by GiteaMirror · 3 comments
Owner

Originally created by @njfox on GitHub (Jan 8, 2019).

It's probably worthwhile to update the wiki with a Fail2Ban filter that will block IPs after too many unsuccessful requests to /admin. Currently we only document how to block failed login requests in the web vault.

Originally created by @njfox on GitHub (Jan 8, 2019). It's probably worthwhile to update the wiki with a Fail2Ban filter that will block IPs after too many unsuccessful requests to /admin. Currently we only document how to block failed login requests in the web vault.
GiteaMirror added the documentation label 2026-03-07 19:14:19 -06:00
Author
Owner

@BlackDex commented on GitHub (Jan 8, 2019):

For this to work the ERROR message:
[bitwarden_rs::api::admin][ERROR] Unauthorized Error: "Invalid admin token"
Needs to have an IP address added.

@BlackDex commented on GitHub (Jan 8, 2019): For this to work the ERROR message: `[bitwarden_rs::api::admin][ERROR] Unauthorized Error: "Invalid admin token"` Needs to have an IP address added.
Author
Owner

@dani-garcia commented on GitHub (Jan 8, 2019):

Added the IP in a0a08c4c5a

@dani-garcia commented on GitHub (Jan 8, 2019): Added the IP in a0a08c4c5af06d
Author
Owner

@njfox commented on GitHub (Jan 10, 2019):

Thanks for adding the IP, the wiki has been updated with a fail2ban config for /admin.

@njfox commented on GitHub (Jan 10, 2019): Thanks for adding the IP, the wiki has been updated with a fail2ban config for /admin.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vaultwarden#3821