Lastpass is out. Aside from all the ongoing issues with vaults being decrypted, I just canceled my paid subscription only to discover the free account is basically useless for anyone who actually uses technology (they limit you to either computers or mobile devices).

I’ve successfully gotten a Vaultwarden instance running and it works great. But I have a few concerns:

  • Right now the vault is hosted on my LAN, and I use a VPN to connect to my LAN from my mobile devices as needed to access other internal private services. The problem I see here is that if my LAN goes down for some reason, I might not have access to my passwords…
  • I thought about hosting the vault on one of my cloud VPS’s. However I don’t feel as secure having the instance “flapping in the breeze” ready as a target for the first exploit that’s found in the server. I strongly prefer the idea of it only being accessible via some sort of VPN.
  • So, I thought I can just run a VPN on the VPS itself like I do with my home LAN right now, but then I realized my second concern is that if something were ever to happen to me, even temporarily (say I end up hospitalized), my VPS will just shut off as soon as payment isn’t received on time and all the other family members who might need to use the instance (e.g. to access my passwords) will be out of luck.
  • The problem with requiring a VPN to get to the VPS or to my LAN is that I can’t use the “give someone else access if I become incapacitated” options. I doubt my mom will ever remember how to activate the VPN and get into the vault, for example. (Not to mention I’d like to be able to offer family accounts on the instance as well, but I still am not sure how I feel about a Vaultwarden instance just sitting there on an open HTTP server.)

For those who self-host Vaultwarden (or even the official Bitwarden server), how do you do it securely and reliably? I know there isn’t much to be done about the “it goes down if I don’t pay” option other than setup autopay and hope it’ll be able to withdraw from your account in your absence, but what about security in general? It really smells bad to run a known password-storing server out on the public Internet for easy scanning and infiltration, plus it just makes your host a prime target

  • slurp@programming.dev
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    It doesn’t have to be live, you can make backups and put them various places for redundancy, so that it can be restored. A backup is small enough to fit in some free cloud storage, preferably encrypted, which helps protect against a few eventualities.

  • Developer_AkashB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    > The problem I see here is that if my LAN goes down for some reason, I might not have access to my passwords

    Not entirely true, you will still have read-only access.

    I had a similar concern when I thought about self-hosting password managers. So I started a discussion regarding the same here.

    Learned a lot of new stuff from the folks discussing here, take a look once, might help answer some of your queries as well.

  • bufandatlB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Have a look at cloudflare tunnel. You still have vaultwarden in your lan but accessible from the world. No open ports needed.