Replies: 1 comment 3 replies
-
|
After a few minutes playing around with bitwarden, I see the web-vault UI also has a fair bit of admin stuff as well. I know I can disable web vault. I know I can also use custom reverse-proxy rules to try and do filtering at the application level for any traffic coming through the reverse proxy. This requires that I know details about exactly which paths/routes are used by various features and that I keep abreast of any changes and new features that might be located on new paths. So it would be nice to be able to easily partition the UI/admin stuff by (optionally) running it on a different port so firewall rules can be used to expose UIs to say VPN interfaces but not public. In an ideal world I would have "bitwarden protocol", "UI-users (no admin function)" and "UI-admin" all optionally separable via different servers/ports. I know I can turn off web-vault and admin UI..but maybe I just want them accessible to me via VPN interface rather than running on the public port. Of course I could just put EVERYTHING behind the VPN (bitwarden clients won't be able to connect to vaultwarden unless they are on VPN), but that might be too heavy handed for my users...and I am not sure if it breaks things that depend on connectivity with bitwarden's own APIs. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Couldn't find this searching or under #246. Not sure if it is already asked/answered.
It appears that currently vaultwarden serves everything on a single port (customizable via
ROCKET_PORTenv).It would be quite nice if the "admin" functions (API or otherwise) were able to be split off into a second server instance running on a different port (e.g. via
ADMIN_PORTenv).Example scenario...
/admin) and would rather just rely on port-based firewall rules.Maybe this doesn't make sense because the admin APIs are part of standard bitwarden protocol stuff that a client might use. But normally I prefer to put as little as necessary on public ports, so would be nice if there was a way to partition "normal bitwarden protocol" APIs from admin functions at a port/firewall level.
It might be a little clunky, but you could make launching admin stuff (UI+APIs) on different rocket server/port contingent on that new ENV/config being set (
ADMIN_PORT) which would allow this to be a non-breaking change.Beta Was this translation helpful? Give feedback.
All reactions