Score:0

vaultwarden on a public IP - is it worth to restrict to VPN only?

ru flag

I feel a bit embarrassed to ask this, because I am not able to figure it out myself.

I run a vaultwarden instance (open source bitwarden) on a public VPS on the open Internet. It is properly set up with an nginx reverse proxy with proper SSL termination and LetsEncrypt certificates. I also have yubikey required access enabled.

I should be fine.

Nevertheless, I am wondering why I should have a service accessible to the whole internet which is only for me (and possibly my wife).

I guess I could enable client-side certificate authentication, but I am not sure how easy that is to set up on the clients.

So I was wondering - would it make sense to have something like a VPN installed on the VPS, and have the service run behind the VPN - if that's even possible, as it is just a box and not a network?

Or could you think of some other solution? Basically the ideal would be that the service would be accessible only to a handful of people, but from anywhere (hence IP based isn't an option). Any suggestion is appreciated.

Score:1
vu flag

I personally host a vaultwarden server. I recently learned that this service is end to end encrypted. This means that even in case of database corruption, a hacker could not decrypt the stored passwords. The problem lies in the fact that the user connection can be compromised (Fake DNS, saving cookies etc) I have personally chosen with my partner to restrict access to our vaultwarden server to our VPN. This ensures that the DNS are chosen by the VPN and not by her personal computer. However, I am thinking more and more about removing the VPN restriction. This is very user heavy. I am permanently connected to the VPN and it does not affect me. But my girlfriend who often uses streaming services has to disable the VPN. This takes away her access to vaultwarden.

transient_loop avatar
ru flag
Could you elaborate what you mean by "I have personally chosen with my partner to restrict access to our vaultwarden server to our VPN"?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.