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

Selfhosted

39964 readers
238 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
 

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
[–] [email protected] 2 points 1 year ago (1 children)

Not sure about the Lemmy part of the question... but it'll definitely be safer to run nginx on a VPS and then communicate with your basement box over tailscale. That doesn't expose your home ip for your services. The other thing you can look into is using a wildcard cert so the specific services you're ruining aren't enumerated in your DNS, might not be necessary since you have nginx sitting in front.

[–] [email protected] 0 points 1 year ago (2 children)

Thank you! I have a followup question if you don't mind. If I host npm on a vps that allows me, say 500GB of data transfer a month, and I am streaming media through a jellyfin instance that I have forwarded through the VPS, will the media I'm streaming count against that transfer amount? This seems like basic information that I should have learned a long time ago.

[–] [email protected] 3 points 1 year ago (1 children)

I think that depends on if the VPS charges incoming and outgoing external connections, some only charge outgoing. From VPS to browser would be outgoing, from your home instance to VPS would be incoming.

[–] [email protected] 1 points 1 year ago (1 children)

Thank you! It does seem like there are afforadable VPS options that don't limit traffic anyway, so I might as well start there.

[–] [email protected] 1 points 1 year ago (2 children)

Mind sharing which VPs those are?

[–] [email protected] 1 points 1 year ago (1 children)

For sure, I think Oracle has unlimited bandwidth even in it's free tier. Ionos is one that I was looking at, fairly cheap but also offers unlimited transfer

[–] [email protected] 1 points 1 year ago (1 children)

Sure.. i already have an oracle free tier that i use for NPM (though switching it to caddy) .. i'd be wary of trusting either of them for long term usage though...

[–] [email protected] 0 points 1 year ago

I've definitely heard bad things about Oracle deleting people's machines without warning. Unfortunately I don't know anything about Ionos. I may go with Linode, their cheapest VPS at $5/month has a 1TB transfer limit, which I might stay under. But please let me know if you end up finding a decent option from a reliable company!

[–] [email protected] 1 points 1 year ago

OVH US has unlimited traffic but limits the bandwidth. I think they start at 100mbps and go over 1gbps depending on which configuration you pick.

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] [email protected] 3 points 1 year ago (1 children)

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

[–] [email protected] 3 points 1 year ago

Yeah worth the reduced headache. Good luck!