5
Safer to host NPM on a VPS? (lemmy.donmcgin.com)

Greetings! I currently host a number of services on an old pc in my basement. I have ports 80 and 443 forwarded and am running Nginx Proxy Manager as well as Authelia to protect most of them. I have set up a lemmy instance that I am using as my main point of access to the fediverse. I guess I have two questions. I am assuming that hiding lemmy behind Authelia would break Federation (although maybe only one way?), is that correct? And secondly, would it be objectively safer for me to pay for a VPS, run Nginx Proxy Manager there and then forward all of the traffic to the services hosted in my basement server using Tailscale? Thanks!

you are viewing a single comment's thread
view the rest of the comments
[-] curioushom@lemmy.one 1 points 1 year ago

Like the other poster said, the traffic will go through the VPS. But since you mentioned tailscale, why not just connect to your network over tailscale. You could even use DNS to point to your services (nicer names than IPs) but then the clients would connect directly and you wouldn't need to route through VPS.

[-] ElGringoLoco@lemmy.donmcgin.com 3 points 1 year ago

I've definitely thought about it, and I would if it were just me. I share some services with family and I don't want to be responsible for troubleshooting if they accidentally uninstall tailscale or reset their phones

[-] curioushom@lemmy.one 3 points 1 year ago

Yeah worth the reduced headache. Good luck!

this post was submitted on 17 Jun 2023
5 points (100.0% liked)

Selfhosted

40040 readers
598 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.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS