I have an Nginx reverse proxy setup in front of an ESXi host. When I go to my domain lets say "esxi.example.com" the Nginx server directs the HTTP traffic to my ESXi box and I can access the web GUI from the WAN. I know there are some security considerations to be made here but lets forget those this is not an important machine.
The problem is when I connect to ESXi this way I can't connect to any of my VM consoles I get an error "failed to connect". If I were to forward the port in my firewall directly to the IP address of the ESXi host I can connect to the consoles no problem. Is it even possible for me to connect to my VMs through the console this way? What would I need to change to make this work?