this post was submitted on 04 Apr 2024
5 points (72.7% liked)

Bitwarden

771 readers
2 users here now

Discuss the Paswordmanager Bitwarden.

founded 1 year ago
MODERATORS
 

BitWarden is my password manager of choice, I use it a lot. But one thing I find frustrating and honestly, nonsensical, is why it doesn't support ports out of the box? I have a bunch of services on different ports and would hope BitWarden would recognise that, but it doesn't? It's not a huge thing as I can always search, but it's one of those little niggly things.

top 12 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 7 months ago (1 children)

I use Vaultwarden in Docker and I was able to change the port very easily. I'm not familiar with BitWarden's own stack, but I can definitely recommend Vaultwarden.

[–] [email protected] 1 points 7 months ago (1 children)

Talking about the autofill. Though I'm a big fan of VaultWarden too.

[–] [email protected] 2 points 7 months ago

Ohhh that makes sense.

[–] saffroncity 4 points 7 months ago (1 children)

You may want to look at setting the match detection. Setting the match detection to "host" should match on specified port numbers. https://bitwarden.com/help/uri-match-detection/#host

[–] [email protected] 3 points 7 months ago* (last edited 7 months ago)

Tried that, it's not working 😭

Edit: it's working! 🎉

[–] [email protected] 2 points 7 months ago (2 children)

In addition to setting the host uri detection, you could put all your services behind a reverse proxy. Bitwarden would then easily detect the subdomain.

[–] testEmailVerified 2 points 7 months ago

You can also just set it in the hosts file

[–] [email protected] 1 points 7 months ago* (last edited 7 months ago)

Reading one of the bugs on it, that was the route someone else took

Edit: got it working with hosts. Thank you!

[–] [email protected] 0 points 7 months ago* (last edited 7 months ago) (1 children)

What? Bitwarden doesn't give a shit about non standard ports on services you're accessing. They're a valid part of the URI string.

Try changing your match detection settings in the add-on.

If you're talking about bitwarden not supporting being run from container on a non standard port, we'll, you're doing it wrong. Expose whatever port on the container then Add a proper reverse proxy / edge router like traefik, then set up some DNS and Let's encrypt and only use 80 and 443 for all of your services.

[–] [email protected] 2 points 7 months ago (1 children)

They're a valid part of the URI string.

Try changing your match detection settings in the add-on.

It doesn't work.

If you're talking about bitwarden not supporting being run from container on a non standard port, we'll, you're doing it wrong.

I'm not

[–] [email protected] 2 points 7 months ago (1 children)

It should work with 'host' match detection. If it isn't working check your URIs.

Or do the sane thing and run everything on a different DNS and share 80/443.

[–] [email protected] 1 points 7 months ago

Host is working now, so it must've been an issue on my end. Thank you very much.