this post was submitted on 19 Nov 2023
2 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Any security/privacy suggestions to securely host pihole with vaultwarden on a rpi? Looking at vaultwarden to use the TOTP features but not sure if its a good idea to have them in the same device or on separate containers? Thoughts?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 10 months ago

you can put on the same machine (raspi):

  • pihole
  • vaultwarden
  • certbot (letsencrypt)
  • lighttpd

Pihole and vaultwarden use HTTP socks, so no encryption

That's why you install the SSL certificate through letsencrypt and setup the reverse proxy from lighttpd to accept only HTTPS connections and reverse them locally to pihole and vaultwarden.

To backup vaultwarden just crontab copying the /data folder to somewhere useful, like Github or Gdrive