I'm trying to find a way to connect two PCs at home from a remote PC at my work, using an intermediate computer with a static IP (like an AWS server). The idea is to use this server to query the IPs of the remote PCs and then establish a direct connection with them. I'm planning to create a small program on each PC that connects to the static IP and allows me to identify the connected computers. Once I get that data, I want to connect directly to the remote PCs. Is this feasible?
4 Answers
For better security and ease of use, consider using an Overlay network or a VPN. Options like Tailscale or Netbird could be perfect for your needs. If installation is an issue on your work PC, look into something like a Cloudflare tunnel. It has a public IP but keeps the connection between your home machines private.
I'd recommend setting up a VPN at home. Many routers can handle this, and then you can VPN into your home network from your work PC. It's a secure way to access your PCs remotely.
You can achieve this setup using SSH with a reverse tunnel and ProxyJump, especially if you're working on Linux or WSL2. It allows your static PC to act as a bridge without wasting resources.
Just to clarify, you would indeed use the static IP as an intermediary, but make sure to keep it lightweight to conserve network resources.
You could use Remote Desktop for this, but if you're not looking for a GUI, I suggest focusing on SSH functionality instead.
Thanks for the suggestion! I'll definitely check this out.