bitwarden
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| bitwarden [2024-04-03 18:03:38] – [FreeBSD] manfred | bitwarden [2024-05-27 17:53:04] (aktuell) – [Konfiguration von vaultwarden] manfred | ||
|---|---|---|---|
| Zeile 8: | Zeile 8: | ||
| - | ===== Installation | + | ===== FreeBSD |
| - | ==== FreeBSD | + | ==== Server (Back-End) |
| - | Installation: | ||
| - | > pkg install security/ | ||
| + | === Installation von vaultwarden === | ||
| - | === FreeBSD Installation bitwarden_rs === | + | ⚠️IMPORTANT⚠️: |
| + | |||
| + | > pkg install security/ | ||
| + | |||
| + | '' | ||
| < | < | ||
| - | warning: be sure to add `/ | + | # cd / |
| - | /bin/mkdir -p / | + | # make clean |
| - | cp -f /usr/ports/ | + | # make config |
| - | /bin/mkdir -p / | + | |
| - | /bin/mkdir -p / | + | # make |
| - | (cd / | + | ... |
| - | echo ' | + | |
| + | warning: `vaultwarden` (bin " | ||
| + | | ||
| + | Installing | ||
| + | | ||
| + | warning: be sure to add `/var/ports/ | ||
| + | /bin/mkdir -p /var/ports/ | ||
| + | install -m0600 | ||
| ====> Compressing man pages (compress-man) | ====> Compressing man pages (compress-man) | ||
| ===> Staging rc.d startup script(s) | ===> Staging rc.d startup script(s) | ||
| - | ===> | ||
| - | ===> | ||
| - | ===> | ||
| - | pkg-static: duplicate file listing: / | ||
| - | Installing bitwarden_rs-1.19.0_1... | ||
| - | Setup bitwarden_rs environment: | + | # make install |
| + | ===> | ||
| + | ===> | ||
| + | ===> | ||
| + | Installing vaultwarden-1.30.0_1... | ||
| + | ===> Creating groups. | ||
| + | Using existing group ' | ||
| + | ===> Creating users | ||
| + | Using existing user ' | ||
| + | ===> SECURITY REPORT: | ||
| + | This port has installed the following files which may act as network | ||
| + | servers and may therefore pose a remote security risk to the system. | ||
| + | / | ||
| - | Copy / | + | If there are vulnerabilities in these programs there may be a security |
| + | risk to the system. FreeBSD makes no guarantee about the security of | ||
| + | ports included in the Ports Collection. Please type 'make deinstall' | ||
| + | | ||
| - | Adapt /usr/local/etc/rc.conf.d/ | + | For more information, |
| + | status of this software, see the following webpage: | ||
| + | https://github.com/dani-garcia/vaultwarden | ||
| + | |||
| + | # make clean | ||
| </ | </ | ||
| + | |||
| + | |||
| + | === Konfiguration von vaultwarden === | ||
| + | |||
| + | > touch / | ||
| + | > chown www:www / | ||
| + | |||
| + | <file bash / | ||
| + | # | ||
| + | vaultwarden_enable=" | ||
| + | |||
| + | #Warning : Some of these settings may be overridden when changing settings on the admin page or in the config.json file | ||
| + | #located by default at: / | ||
| + | |||
| + | LOG_FILE='/ | ||
| + | export LOG_FILE | ||
| + | |||
| + | ROCKET_ADDRESS=:: | ||
| + | export ROCKET_ADDRESS | ||
| + | |||
| + | ROCKET_PORT=4567 # your port here | ||
| + | export ROCKET_PORT | ||
| + | |||
| + | # ROCKET_TLS=' | ||
| + | # LOG_FILE='/ | ||
| + | |||
| + | SIGNUPS_ALLOWED=false | ||
| + | export SIGNUPS_ALLOWED | ||
| + | |||
| + | SIGNUPS_VERIFY=true | ||
| + | export SIGNUPS_VERIFY | ||
| + | |||
| + | INVITATIONS_ALLOWED=false | ||
| + | export INVITATIONS_ALLOWED | ||
| + | |||
| + | DOMAIN=' | ||
| + | export DOMAIN | ||
| + | |||
| + | # ADMIN_TOKEN= # generate one with ~$ openssl rand -base64 48 | ||
| + | # export ADMIN_TOKEN | ||
| + | |||
| + | SMTP_HOST=' | ||
| + | export SMTP_HOST | ||
| + | |||
| + | SMTP_FROM=' | ||
| + | export SMTP_FROM | ||
| + | |||
| + | SMTP_PORT=465 | ||
| + | export SMTP_PORT | ||
| + | |||
| + | SMTP_SECURITY=force_tls | ||
| + | export SMTP_SECURITY | ||
| + | |||
| + | SMTP_USERNAME=' | ||
| + | export SMTP_USERNAME | ||
| + | |||
| + | SMTP_PASSWORD=' | ||
| + | export SMTP_PASSWORD | ||
| + | |||
| + | # Beta feature | ||
| + | # ORG_GROUPS_ENABLED=false | ||
| + | # export ORG_GROUPS_ENABLED | ||
| + | </ | ||
| + | |||
| + | <file c / | ||
| + | # https:// | ||
| + | |||
| + | ### vaultwarden | ||
| + | upstream vaultwarden { | ||
| + | zone vaultwarden 64k; | ||
| + | server [::1]:4567; | ||
| + | keepalive 2; | ||
| + | } | ||
| + | |||
| + | # Needed to support websocket connections | ||
| + | # See: https:// | ||
| + | # Instead of " | ||
| + | # Else all keepalive connections will not work. | ||
| + | map $http_upgrade $connection_upgrade { | ||
| + | default upgrade; | ||
| + | '' | ||
| + | } | ||
| + | |||
| + | server { | ||
| + | listen [::]:443 ssl http2; | ||
| + | server_name vaultwarden.domain.de; | ||
| + | |||
| + | include / | ||
| + | |||
| + | client_max_body_size 525M; | ||
| + | |||
| + | location / { | ||
| + | include / | ||
| + | proxy_pass http:// | ||
| + | } | ||
| + | } | ||
| + | </ | ||
/home/http/wiki/data/attic/bitwarden.1712167418.txt · Zuletzt geändert: von manfred
