this post was submitted on 28 Jun 2023
304 points (98.4% liked)
Asklemmy
43946 readers
570 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
- [email protected]: a community for finding communities
~Icon~ ~by~ ~@Double_[email protected]~
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
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.