Hello there. I am thinking of buying some components and building my own dedicated server which I will have in my home. This server will run various programs, as well as Minecraft servers. Now, these Minecraft servers are servers that I will be playing in with my friends, so even if my IP gets exposed, it won’t be a big issue.
Of course, when telling others to join, you could give them your IP, or you could buy a domain and link it to your IP. This is something that I am thinking of doing, but I do not like the idea of having a domain name linked directly to my home IP as someone could use it to track my home IP.
This is where reverse proxies come in place. I don’t know much of it, but I heard that reverse proxies are, like their name, reverse proxies, they take traffic and redirect it to the server, and vise versa, while masking the destination IP. This would be ideal for my use case, but my question to you is if this is even possible. Is it possible to set up a reverse proxy so that my URL directs to the proxy, and then the proxy directs to the server? Is it possible to mask my home IP address using a reverse proxy, or will it still be visible? If I were to implement a reverse proxy, would it cause any issues when hosting websites or Minecraft servers?
I unfortunately do not know that much about reverse proxies and home servers, which is why I am asking here. Although this isn’t part of my original questions, and you by no means need to answer it, could I also ask what the cost of having a reverse proxy might be (since you have to externally host it)? That is all. If you have any questions, feel free to ask. Thank you for your time and help, they are truly appreciated.
There’s no need to do all that. A reverse proxy could be hosted on your own house, it’s just a simple “control point” in front of all your equipment. It even could be a VM or container in front of your infra. But a simpler approach it’s to simply set up a vpn like zerotier/wireguard/cloudflared, and give access to your friends to just access the private IP you want. Don’t get me wrong, it is a great thing to learn about reverse proxies (I’d start learning how to do it using nginx if you ask), but sometimes you need to have a proper reason and not overengineering stuff.
Thank you for the reply! Looking at the other discussions on this comment section, it looks like a VPN would do the trick. A reverse proxy might be needed to route the subdomains though.