I've developed a multiplayer game (using java) similar to Monopoly, and currently, it's playable only over LAN using a socket server running on my desktop. However, I want to make the game playable over the internet (WAN). The challenge I'm facing is that my desktop lacks a static public IP, and I don't have access to the router management for traditional port forwarding.
I'm seeking advice on how to enable WAN gameplay for my Menopoly game. I've considered a few options but could use some guidance (because I am not that expert in networking) on their feasibility and implementation:
VPS Solution: Should I opt for a Virtual Private Server (VPS) to host the server? If so, what would be the best way to set it up to handle multiplayer gameplay? Are there any recommended VPS providers that offer free plans suitable for hosting a game server?
Public Static IP + VM: Another idea is to obtain a public static IP (possibly a virtual one) and use a virtual machine (VM) to host the server. Is this a viable approach? How would I set up a public static IP and configure a VM for this purpose?
UPnP: I've heard about Universal Plug and Play (UPnP) as a potential solution for enabling WAN access without traditional port forwarding. Is UPnP a valid method for achieving my goal? If so, how can I implement it effectively for hosting my multiplayer game server?
Additionally, I'd appreciate any suggestions on alternative methods or solutions that might achieve my goal of enabling WAN multiplayer without traditional port forwarding. Are there any services or technologies that could help me achieve this?