BitWarden - self hosted password manager using vaultwarden/server image

Docker BitWarden - self hosted password manager using vaultwarden/server image

Currently reading
Docker BitWarden - self hosted password manager using vaultwarden/server image

351
91
NAS
DS418play
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
  2. Windows
Mobile operating system
  1. iOS
Last edited:
Sorry, don't understand how to edit that reverse proxy rules in my DSM then...

If I add 10xx port number to source port I get this:

43
 

Rusty

Moderator
NAS Support
3,757
1,083
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Source port needs to be thr same port from port forward. Why it isn’t 443?
 

fredbert

Moderator
NAS Support
Subscriber
2,330
954
NAS
DS1520+, DS218+, DS215j
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Sorry, don't understand how to edit that reverse proxy rules in my DSM then...

You might have to do it in two edits, one to change to an unused port, thereby releasing the port, and then a second time to to the change you want.
 

Rusty

Moderator
NAS Support
3,757
1,083
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Actually, to be exact, it loads on http, but it does not work on https for that domain.
Male sure to set that revers rule to use your cert in control panel > security > certificat
 
351
91
NAS
DS418play
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
  2. Windows
Mobile operating system
  1. iOS
If I hit Config button for my current CERT I get this:
44
 
134
35
NAS
DS918+, DS1815+
Operating system
  1. Linux
  2. macOS
Mobile operating system
  1. Android
I also use reverse proxy on my nas but on my phone I can not use the Bitwarden app (gives connection error). In the app I have to use the external ip and used port to make the connection. In a browser I can use the ddns name I have setup in reverse proxy. Any idea why this is not working in the app?
 
351
91
NAS
DS418play
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
  2. Windows
Mobile operating system
  1. iOS
Ok, solved with Rusty privately... I'm a total newbie and was trying to connect via DDNS URL and port 10xx that I've choose for BW. I should have tried with port 443, but I didn't.

Thank you, @Rusty!!!
 

Rusty

Moderator
NAS Support
3,757
1,083
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
I also use reverse proxy on my nas but on my phone I can not use the Bitwarden app (gives connection error). In the app I have to use the external ip and used port to make the connection. In a browser I can use the ddns name I have setup in reverse proxy. Any idea why this is not working in the app?
https configured? Are you trying this inside your network? What happens if you test it outside your network? Mind shoping your RP config?
 

Telos

Subscriber
1,576
523
NAS
DS418play, DS213j, DS3622+, DSM 7.1.4-11091
I also use reverse proxy on my nas but on my phone I can not use the Bitwarden app (gives connection error). In the app I have to use the external ip and used port to make the connection. In a browser I can use the ddns name I have setup in reverse proxy. Any idea why this is not working in the app?
No reverse proxy on my phone... just "https://secretname.synology.me:12345" where 12345 is the port forwarded to the reverse proxy (which connects by another port to the external BW-docker port... which connects... oh my).
 
134
35
NAS
DS918+, DS1815+
Operating system
  1. Linux
  2. macOS
Mobile operating system
  1. Android
Did today again a check and have still the same error when I try to setup the bit warden on my iPhone.
Now used https://mysynologyname.synology.me:8123 opened the port in my router but it does not work. When I use my external IP address it works.
 

Attachments

  • IMG_1215.PNG
    IMG_1215.PNG
    90.6 KB · Views: 49
  • IMG_1216.jpg
    IMG_1216.jpg
    26.2 KB · Views: 44

Rusty

Moderator
NAS Support
3,757
1,083
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Did today again a check and have still the same error when I try to setup the bit warden on my iPhone.
Now used https://mysynologyname.synology.me:8123 opened the port in my router but it does not work. When I use my external IP address it works.
Are you sure your port forward is working ok? Have you tried to access BW from outside using your ddns name on a different device apart from your iphone or just via Safari app not BW app, so you can eliminate the app as the problem?

How is your revers configured? Also have you mapped that revers proxy to the ssl cert in Security section?
 
134
35
NAS
DS918+, DS1815+
Operating system
  1. Linux
  2. macOS
Mobile operating system
  1. Android
Yes, I did everything. Other containers are reachable from outside except the bitwarden container.
 

Rusty

Moderator
NAS Support
3,757
1,083
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
What certificate are you using? Are you sure thats configured correctly? And again, have you tried to use BW on a different device apart from your phone? Does the web ui work ok?
 
134
35
NAS
DS918+, DS1815+
Operating system
  1. Linux
  2. macOS
Mobile operating system
  1. Android
Web ui on my iphone / iPad works perfect in safari / chrome and firefox. Just now tested on android and there the BW app works. So it is an iOS problem. Thank you for the help and thinking with me.
 

Rusty

Moderator
NAS Support
3,757
1,083
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
Web ui on my iphone / iPad works perfect in safari / chrome and firefox. Just now tested on android and there the BW app works. So it is an iOS problem. Thank you for the help and thinking with me.
Nice one. Well at least now you know you configured it correctly.
 
351
91
NAS
DS418play
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
  2. Windows
Mobile operating system
  1. iOS
Ok, about updating Bitwarden on my NAS. How do I know when an update is available? Auto-notification or do I need to track their site?

How to update Bitwarden in Docker?
 

Rusty

Moderator
NAS Support
3,757
1,083
www.blackvoid.club
NAS
DS718+, DS918+, 2x RS3614RPxs+
Router
  1. RT1900ac
  2. RT2600ac
  3. MR2200ac
Operating system
  1. macOS
Mobile operating system
  1. iOS
How to update Bitwarden in Docker?
There are several ways. If you wanna so it via DockerUI in Syno then you can use this simple method.

  1. Download the new 'latest' image from the Registry via DockerUI
  2. After that download is complete, stop BW container
  3. Using the Container section, select the BW container and then from the Action drop down menu, select Clear command.
  4. Don't freak out, your container will be removed from the list and recreated using the fresh image your have downloaded
  5. After the container has been recreated, start it again
  6. Done!
How do I know when an update is available?
Some apps will check for the updates them self, but keep in mind that does not mean that the image is also ready and updated. To be sure you will have to check the hub.docker.com page for that specific image and its tags. If they were changed then download the latest image and apply it.

There are also several other solutions (docker images) that you can deploy that will do this for you. Watchtower is one of them and Ouroboros is another. They need to be setup 1st and configured and they can run all your containers and compare their running images with repositories to see if there are any updates.

Keep in mind that running a lot of containers and having them on the bleeding edge version is risky. Personally, I like an individual approach and update them manually.
 
351
91
NAS
DS418play
Router
  1. RT2600ac
  2. MR2200ac
Operating system
  1. macOS
  2. Windows
Mobile operating system
  1. iOS
Thank you very much for the detailed instructions.
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Top