I have a virtual machine running Debian hosted on my Mac. I use it to develop and host a server. I also have a distant PC which I use to play my games. I'd like to connect to my server running on my VM. The thing is, as you can imagine, my Mac is not on the same network as my distant PC.
My question is simple : How can I make my VM available from my distant PC?
I was thinking of using Hamachi, but my VM doesn't have any graphical user interface. Is it enough to use Hamachi on my Mac (that hosts my VM) and on my PC with a bit of port forwarding?
Is there an easier way to achieve my goal?