this post was submitted on 28 Jun 2023
304 points (98.1% liked)
Asklemmy
43908 readers
1377 users here now
A loosely moderated place to ask open-ended questions
If your post meets the following criteria, it's welcome here!
- Open-ended question
- 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.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~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
view the rest of the comments
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.
How does that Google cloud proxy server work?
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.
Would something like WireGuard do the same thing?
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.
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?
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.