[GH-ISSUE #332] Update Fail2Ban wiki page with rules to block /admin bruteforce #183

Closed
opened 2026-03-03 01:26:26 +03:00 by kerem · 3 comments
Owner

Originally created by @njfox on GitHub (Jan 8, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/332

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). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/332 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.
kerem 2026-03-03 01:26:26 +03: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.

<!-- gh-comment-id:452292351 --> @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

<!-- gh-comment-id:452335275 --> @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.

<!-- gh-comment-id:453223998 --> @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.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#183
No description provided.