this post was submitted on 28 Jun 2023
222 points (99.1% liked)

Asklemmy

43984 readers
1200 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy 🔍

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] jhn@xffxe4.lol 2 points 1 year ago (1 children)

I already owned my own home server that I built for running a file server and other random things. Currently all I’m paying for is $2.50/month for a proxy server on Google Cloud so I don’t have to expose my stuff directly to the internet.

[–] sarchar@programming.dev 0 points 1 year ago (1 children)

How does that Google cloud proxy server work?

[–] jhn@xffxe4.lol 0 points 1 year ago (2 children)

It’s a bit of a janky solution, but I’m just running an openvpn server on the lowest tier vps which my home server auto-connects to on boot. From there it’s just iptables rules to reroute the external traffic through the VPN. I’ve also used it to proxy Minecraft servers and a few other things.

[–] sarchar@programming.dev 1 points 1 year ago (1 children)

Would something like WireGuard do the same thing?

[–] jhn@xffxe4.lol 1 points 1 year ago

Yeah the choice of VPN doesn't really matter here. I would just configure it to not push a default route to cut down on the amount of traffic going through. You could even use something like ZeroTier if you wanted.

[–] dustedhands@lemmy.world 0 points 1 year ago (1 children)

Does that mean my actual home server is behind a VPN connection but has its traffic transparently routed to the external VPS, which eliminates the need for opening ports on the residential router?

[–] jhn@xffxe4.lol 1 points 1 year ago

Yeah, that's originally why I had it set up this way because I was somewhere where I wasn't able to open any ports.