How to use behind NAT?
I'm trying to setup the spice-html5 client so that I can access a vm from basically anywhere however I do have some issues to access it from outside my home lan.
At home I have a server that also runs the VMs.
I did download the spice-html5 source and put it onto my webserver (nginx).
I did start webproxify with webproxify 5959 localhost:5900
When I fire up a DE on the server, open browser and then open spice.html, enter localhost and 5959 I can access it.
However, when I'm outside from home, I can access the spice.html as well but I can't connect to webproxify.
I'm even unsure what host I have to enter when accessing from outside. Do I need to:
- 10.0.0.10 (lan ip)
- xx.xx.xx.xx (wan ip)
- home.domain.tld (domain that points to my home lan)?
Also, which ports do I need to open - if any?
- 5959 (because webproxify listens to it?)
- 5900 (because that's the port of the spice vm?)
Is there a good guide on how to actually use the spice-html5 client from outside the NATed LAN?