From f5f07d9f52a4d5f80a2b6a40d6784c40911c49a6 Mon Sep 17 00:00:00 2001 From: artygreis Date: Sun, 19 Nov 2023 22:41:35 +0300 Subject: [PATCH 1/9] Create 01-en.md --- .../01-en.md | Bin 0 -> 13072 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 community-tutorials/installing-bitwarden-server-with-docker/01-en.md diff --git a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md new file mode 100644 index 0000000000000000000000000000000000000000..3cda186d06e4763f31612b91e5fb9386cc7884d4 GIT binary patch literal 13072 zcmds-?Qc})5ykK4O8pg_h>t*)L7yBc|9h8NO@(C&Sw|;+3x79gc?=!?*1^>ob0;D<>N9 zrtNmD`Rw&TcUY0tUTM}_y`SoR()KMWmhV4pJ1p+M+wDKm`bUyrqOnK%{JiPO)!pH+ z?J|)}&!pqtaJ8WU4y<|5B>YM<_H-8p-*s8yW4-wQ`!;^6{m-;7W1egMQ(+VApKBcQ6h5H* zOyf@*iYHnhU6GCXw{xr)3mM0blL6GnIv+J`?T=@}_d<2jW?_?4Nd&%6 z^>?E6cJ=Lru0GX!G-8JXNrE?@ol9h|FnZYRbsJ+JdAcw@vf)X#YQ+$1T$W5k&*?}C zG(2juZVN$>$H%eNvBu#!2fDH+o!+z^ZP_1+2duHDdCTH*92e}4zfa_queBq4d(ZK> zTBmxwZTRi#Q^|;D z9u51_(;Nk}SyxcqZ!_>mt~2tg=5C!^!c6BV1urA_PVdOY_qPqpF>cR<>v7u=Now|i zt|F&dCH}D~P5!R+umlkaj;9*M{SP&No;$hrMA2~8#+~WgmgW@eUK4v<6^GntD`XdR z+7nU}@ySGNF&XYOe}R=JLNXf7@3u4W8uKSUZjPPKQ1dAETHNp2Y`@#hO0Q+piT+|0 zV(+BGA58Z(BHr91%i6be*F1~eiEVs1a$r+()5U9)XJiL_<3uZ*Y91Ccv-jC6BkiH& zCNt?o$RNS7=I&^A@=C_f`z0Q1>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zv^g@E%lehW zQ>o$uJvLYgZ|WmCbsLq0J2{Urs}oJm8+hEZ3bu4CChH@;JUi^_JV8EAWtl1lKTqG0 zoy|Z0t2mCd%cJ;?(BteDW=v(`D#oYWg+(!0`mFI8l8GT*Z2|s(k=l=L- zp1D(<&|~&FW^Ku}<#~s5GEU6aG~XwZYpNR7RXf~MHL<1tl}qrzH{t~{ES)4CM24d# z_pc~;*4fL3fAaTO@}6i1{4Ks4?@PzvCv<)u1Q*Z=koh^!_W7uvEKmbb8Pc6`-;4o& zz&!R=swb*QG^38BR!O~*C`S`UYP;4RmxN$xLiACmrSi(W`B`Q%?vhimg)6r@@2~0!-OU`FaQc~T zD&)-Ogw@YrdL6QR*&J<*xw9{l{Rh3;it_#%yjG=pd1>>(e=81^8 zD2RGrM?s;{$E)kF%))*-adLj?z05juh4q(P$o9j^*xwaEel3zJFgpH_MJvB->xt7n z?MiO>RIK`?x~0u_WnI@M;-XF6`9d5=XGFhrNh7$!{Y%X*Up7Aeto2mey5luAHEu&I z{!Ld{o8NV9v~QnlJiQlwMd!sH_p}3+AQYLK_clb{XN$I zP3=P-c%oT+-r<-M2d7YPy-q36$_omG6Y;GAaGq(}2~eGpKghg>!Ty07Yz7)+E=Fhuo1m|I@|t`ycl~ zV7z-?iFkLc=2NyvP}qPq-t$`YyG;E1fx=_I=159PId zTE@CH&;IGEbvc{DimY0l#EWj<+6(V6+8}^zc5c`S``QpKt8W{OjLr54L*% literal 0 HcmV?d00001 From a814aa979630793e2fd6e77443f637240c5bc06c Mon Sep 17 00:00:00 2001 From: artygreis Date: Sun, 19 Nov 2023 22:44:30 +0300 Subject: [PATCH 2/9] Update 01-en.md --- .../01-en.md | Bin 13072 -> 12994 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md index 3cda186d06e4763f31612b91e5fb9386cc7884d4..2559f28f9f57c908aa83f764304814f150d17a9d 100644 GIT binary patch delta 42 xcmbP`b|`g&6yxRs##4;UsSJ6W9hq-4u@^IBFz_;PO_pX;WCqfkt=X>X0010f3ts>L delta 116 zcmX?PWRC`N@)%+_KWDnlH2D;(!sd6ZS9AdK1sp>F From a844e09941214173af98de25562fdfb0ff2ce10f Mon Sep 17 00:00:00 2001 From: Artem Greis Date: Sun, 19 Nov 2023 22:47:04 +0300 Subject: [PATCH 3/9] Update 01-en.md --- .../01-en.md | Bin 12994 -> 6498 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md index 2559f28f9f57c908aa83f764304814f150d17a9d..0ed3f3b20dfabbf84814f6c14b557eaf5503a655 100644 GIT binary patch literal 6498 zcmcgxU2hx56@4eb|8OeU+6h^c1bFBlA;d{9K_t6nfrClxpy}I{^!5i?RK+K*djF-(#w1irK!#4a%qd_ zC{Ii#Ba^R9F3+}D$hC`~Ox|oH#>cr`71m`Ja%ZAElZAVh!ifz>?Ctk^`xD(SQI?3w zqG@U*N|rX0RWvuvM!8C&!XzJ~;zG_}pTB9Jowd*Y*lhT;oL|Va@@U$wY&08DSu9-s zF^iUPzLOVbDerP){q{|nrx&s)ij}`OJ)I+ha(WWG~vu5y=@aq&?NH5+M^%}XAH@Nm{TvMHndSU<;Ue4#mS zHeMm&MK}P7Y&OOV>!m0Qm)j^6^J$ev2=(WgEf(hU?7B=MS=+oQv2#D;p<ERWMNE6N&-=jSJ{ z--a!t!mQ*>+H$op@l!BV!*nv4_yy1!P}gn)$6hmy7kj(UvHLReHWm$NUgjEwxS257 zA)U=eXI6j*sQB9Q6o&U=g{FiXW;XYQq;3vmD{c4?Y0U{#ndHtDlkMUdGTn$- z0yQnQ91ik~kjQWn7^3f{zvZx|^y~zA0Vs{`q2+A}X=`aB01Qz~)Qx0F+m)q3^xymgyYOz9Ic|M<%>`tZwh#iLlHokt#Z4zshJ}* z`oeJC(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!EOpYqxhc|NO7wIHc{4;-^CIOnAVIQJLUj5od`-GFkLl?K3Fb9lIstN952^ zw@=nxubQbjRm4}YI`PiBeqvt4M)3~V9d`5)-S(N6GooAge`De`Ax>w59S1iY{hc!U zss_+Z4R_tYyPL`Q4PZm)Ze;3*Qazi;lr>==?qiE}#=2^XK`f-z-oA zP#Myl@!X67f51HUR;nkeNHn94q*jS~g~}1c(1a0j8WY_JcgA9=>?NJ2sAF8&ak^mn z-0fk9c&E&h=o8~qk4Rb6eKhTTzOeg{+Q5WA<%(Z-lN`yzSZ$!FfDu*;$F^))dYi&9@# zH|9Xwa@HpHB2MKveYckGX^k2E2~wX|I{qM;BhS@m{_{FV{E=GH_T{@V5obFSALIP{ zymSv~o3tP?O7&wd3PeF7dVoZuj@R}q>=!3a&M&o>S!eFBez%2eKdg-XT>->5N1_T0 z9Y1B!%r857pIHtQ9MIpdx1oZ97mxyLDTWccE4lAVpP^7Luc(^c63(p$%1p5 z@AG{NfA_4UX`&mZ#*YE1khCEkuy!CVzjlAZweCkB1j7!aknPlY5v#veJGJ!w6 zq2-DhQQiDOPmnuu5Vhd#aB;5mJ5=Wj>RDHAbTfRX0jp7GQ0=e_=jccPir6ZxiT>mv zccjk$bg_K@$9)hO_iri@?~c`c$`%qNHeii6UFZiN;cwJ_{zhz#*zGMdjX%1~uGeM1 z(7Z+?>bSb{3cE%21S$NCGba9GdA`5>^SqH&r***!BVlH5o%X85GTtYd*px_PY*bwK z)2OYx5UBSf&RuC97M@m0iHV=Coy=PF$w!i7smOg;a5r|*sYhoUmNIj}%RXz4 z?{tSvmF3+g-WFDDM(VzI&zX93& Br+5GW From f936dc71fc0a1d3e53086b5d08d67397c413538f Mon Sep 17 00:00:00 2001 From: Artem Greis Date: Sun, 19 Nov 2023 22:58:35 +0300 Subject: [PATCH 4/9] Update 01-en.md --- .../01-en.md | 77 ++++--------------- 1 file changed, 14 insertions(+), 63 deletions(-) diff --git a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md index 0ed3f3b..8fa4c37 100644 --- a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md +++ b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md @@ -1,14 +1,14 @@ ---- +--- title: Installing Bitwarden Server with Docker description: Learn how to install Bitwarden server with docker and enable admin page updated_at: 2023-11-19 slug: bitwardeb-install author_name: Artem Greis author_url: https://github.com/artygreis -author_image: -author_bio: -tags: [bitwarden, linux] -netcup_product_url: +author_image: +author_bio: +tags: [bitwarden, linux] +netcup_product_url: https://www.netcup.eu/bestellen/produkt.php?produkt=2902 language: en available_languages: en --- @@ -24,66 +24,17 @@ This tutorial explains how to install the Bitwarden server on a virtual server w ```sh docker --version ``` +If the version is shown, then you can continue further. -# Step 2 - Basic configuration of the server -After provisioning of the server and the first login with the username `root` and the password sent by email, the first step is to update the basic configuration of the server. +# Step 2 - Pull the docker image +```sh +docker pull vaultwarden/server:latest +``` -1. Change the root password by means of `passwd`. -2. Import the current security updates with `apt-get update && apt-get upgrade -y`. -3. It is recommended to set up an SSH key at this point and to disallow password login for the root user. These procedures are not part of this tutorial and as the latter functionality requires root capability, the setup of an unprivileged user is omitted at this point. - -# Step 3 - Configuration of SSH daemon - -> **Info** -> Note that the SSH daemon usually listens on port 22. - -To make it accessible even from restricted networks, it is configured to listen also on ports 443 (HTTPS) and 80 (HTTP). These ports are usually less restricted or not restricted at all, so there is a good chance that they can be used to gain free access to the proxy and thus to the internet. - -1. Open the file `/etc/ssh/sshd_config` in an editor like `vi` or `nano`. -2. Search for the line `port 22`. It probably starts with a `#` to indicate that this is the basic configuration. -3. Change the file to: - ``` - port 22 - port 80 - port 443 - ``` -4. Save and exit the editor. -5. Restart SSH daemon with `systemctl restart ssh`. The current session should remain active. -6. Use `ssh -p 443 root@v11111111.quicksrv.de` to test if the configuration was set up successfully. - Please replace `v11111111.quicksrv.de` with your own hostname. - -SSH daemon is now successfully configured and can be reached via ports 22, 80 and 443. - -# Step 4 - Use as SOCKS server -To use Chrome or another browser in such a way that it handles all traffic through the SSH proxy, you use it as a SOCKS proxy. This way, you can show streaming services, for example, that you are actually located in Germany if the geolocation of your own IP doesn't work properly. - -Technically, in this case, your own computer is the SOCKS proxy that uses SSH proxy for forwarding. Therefore, `localhost` is specified as the (SOCKS) proxy server (see figure below). - -Start an SSH session on your own computer with the following command: - -`ssh -p 443 -D8080 -N root@v11111111.quicksrv.de`. Replace the example `v11111111.quicksrv.de` with the correct server name. - -Then start Chrome in a second window with the following command: - -`google-chrome --proxy-server="socks5://localhost:8080" --host-resolver-rules="MAP * ~NOTFOUND , EXCLUDE localhost"`. - -This results in Chrome using the SOCKS proxy as nameserver for name resolution, which protects your privacy. - -![The SOCKS proxy can handle multiple ports simultaneously](community-tutorials/setup-and-use-sshproxy/images/socks.png) - -# Step 5 - Use as jump server -To access other servers whose SSH daemon is bound only to port 22 (or another), use the command: - -`ssh -J root@v11111111.quicksrv.de:443 root@myserver.com` - -Replace our example `v11111111.quicksrv.de` with the correct proxy server name. Instead of `myserver.com` you must specify the server to which you want to connect through the proxy. - -![The jump host will forward a connection](community-tutorials/setup-and-use-sshproxy/images/jump.png) - -# Conclusion -SSH proxy can now be used. It is recommended to perform tests before productive use. - -![The SOCKS proxy can handle multiple ports simultaneously](community-tutorials/setup-and-use-sshproxy/images/socks.png) +# Step 3 - Get token for admin page +```sh +docker pull vaultwarden/server:latest +``` # Licence From 5448b10929ccd7aae9c53b0e94681c1faefb4f57 Mon Sep 17 00:00:00 2001 From: Artem Greis Date: Mon, 20 Nov 2023 00:23:10 +0300 Subject: [PATCH 5/9] Update 01-en.md --- .../installing-bitwarden-server-with-docker/01-en.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md index 8fa4c37..caeb601 100644 --- a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md +++ b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md @@ -33,8 +33,16 @@ docker pull vaultwarden/server:latest # Step 3 - Get token for admin page ```sh -docker pull vaultwarden/server:latest +openssl rand -base64 48 ``` +Copy and save this token. + +# Step 4 - Mount a volume +```sh +docker run -d --name vaultwarden -e ADMIN_TOKEN={token_get_on_step_3} -v /vw-data/:/data/ -p 80:80 vaultwarden/server:latest +``` +- '**vw-data**' - folder for save data on disk +- '**80**' (on the left) - local port, you can change # Licence From fb811c342920b404e4d58748268aa5fede160a6e Mon Sep 17 00:00:00 2001 From: Artem Greis Date: Mon, 20 Nov 2023 00:28:46 +0300 Subject: [PATCH 6/9] Update 01-en.md --- .../installing-bitwarden-server-with-docker/01-en.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md index caeb601..a3a467b 100644 --- a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md +++ b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md @@ -43,6 +43,9 @@ docker run -d --name vaultwarden -e ADMIN_TOKEN={token_get_on_step_3} -v /vw-dat ``` - '**vw-data**' - folder for save data on disk - '**80**' (on the left) - local port, you can change +# Conclusion +Now you can go to the address localhost:port in your browser. For admin page: localhost:port/admin and then use token from step 3. +That's all. # Licence From d57e4ea556216648dabab290a9c06152320cd304 Mon Sep 17 00:00:00 2001 From: Artem Greis Date: Mon, 20 Nov 2023 00:29:18 +0300 Subject: [PATCH 7/9] Update 01-en.md --- .../installing-bitwarden-server-with-docker/01-en.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md index a3a467b..8f6d091 100644 --- a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md +++ b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md @@ -44,7 +44,10 @@ docker run -d --name vaultwarden -e ADMIN_TOKEN={token_get_on_step_3} -v /vw-dat - '**vw-data**' - folder for save data on disk - '**80**' (on the left) - local port, you can change # Conclusion -Now you can go to the address localhost:port in your browser. For admin page: localhost:port/admin and then use token from step 3. +Now you can go to the address localhost:port in your browser. + +For admin page: localhost:port/admin and then use token from step 3. + That's all. # Licence From 592f29700776d35143293c84cadb101e764f0edd Mon Sep 17 00:00:00 2001 From: Artem Greis Date: Mon, 20 Nov 2023 00:31:12 +0300 Subject: [PATCH 8/9] Update 01-en.md --- .../installing-bitwarden-server-with-docker/01-en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md index 8f6d091..344d165 100644 --- a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md +++ b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md @@ -18,7 +18,7 @@ This tutorial explains how to install the Bitwarden server on a virtual server w # Requirements * Docker -* Ubuntu Server 22.04 +* Ubuntu 22.04 # Step 1 - Check your Docker ```sh From 5be9d03b1a98525b9d3ed96efdf0d95210047e34 Mon Sep 17 00:00:00 2001 From: Christoph <98811118+netcupChristophW@users.noreply.github.com> Date: Tue, 30 Jan 2024 07:42:38 +0100 Subject: [PATCH 9/9] Update 01-en.md --- .../01-en.md | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md index 344d165..7598a33 100644 --- a/community-tutorials/installing-bitwarden-server-with-docker/01-en.md +++ b/community-tutorials/installing-bitwarden-server-with-docker/01-en.md @@ -1,22 +1,23 @@ --- -title: Installing Bitwarden Server with Docker -description: Learn how to install Bitwarden server with docker and enable admin page +title: Installing Vaultwarden (Bitwarden compatible) Server with Docker +description: Learn how to setup Vaultwarden using Docker and updated_at: 2023-11-19 -slug: bitwardeb-install +slug: vaultwarden author_name: Artem Greis author_url: https://github.com/artygreis author_image: author_bio: -tags: [bitwarden, linux] +tags: [bitwarden, vaultwarden, linux] netcup_product_url: https://www.netcup.eu/bestellen/produkt.php?produkt=2902 language: en available_languages: en --- # Introduction -This tutorial explains how to install the Bitwarden server on a virtual server with Docker and how to enable admin page. Bitwarden is used to securely store keys, passwords and confidential information. Storing data on your own server avoids data loss. +This tutorial explains how to setup a Vaultwarden server on a virtual server with Docker and how to enable Admin page. Vaultwarden is a Bitwarden compatible solution written in Rust and is used to securely store keys, passwords and confidential information. Storing data on your own server avoids data loss. # Requirements + * Docker * Ubuntu 22.04 @@ -31,7 +32,7 @@ If the version is shown, then you can continue further. docker pull vaultwarden/server:latest ``` -# Step 3 - Get token for admin page +# Step 3 - Get token for Admin page ```sh openssl rand -base64 48 ``` @@ -43,10 +44,11 @@ docker run -d --name vaultwarden -e ADMIN_TOKEN={token_get_on_step_3} -v /vw-dat ``` - '**vw-data**' - folder for save data on disk - '**80**' (on the left) - local port, you can change -# Conclusion -Now you can go to the address localhost:port in your browser. -For admin page: localhost:port/admin and then use token from step 3. +# Conclusion +Now you can go to the address localhost:port in your browser to access the Admin panel. + +For Admin page: localhost:port/admin and then use token from step 3. That's all.