Hi,
I've setup proxmox and all VMs behind a firewall and have the webGUI and all other webservers proxied on http(s) by nginx. Everything works fine except the browser based VNC console. Because it is very handy, I try to get it working again.
The firewall forwards port 5900 directly to the proxmox server (NAT), the web traffic is forwarded to nginx (443, SSL endpoint) which then forwards the web requests (on port 80) to proxmox.
In short, the "web portion" (i.e. the request that starts the java console on the client) is routed like this
(1) client -> firewall -> nginx -> proxmox (http(s); NAT+ReverseProxy)
the "VNC portion" (i.e. the request of the java VNC client running in the browser) is routed like this
(2) client -> firewall -> proxmox (VNC; NAT)
Hence, Proxmox gets the two requests (Web + VNC) from different servers. Is this a problem?
From monitoring the outputs of netstat and related tools, it seems promox gets a request on port 5900 (from the firewall, NAT) but does not accept it.
Can this be solved on proxmox's side?
Thanks
fatzopilot
I've setup proxmox and all VMs behind a firewall and have the webGUI and all other webservers proxied on http(s) by nginx. Everything works fine except the browser based VNC console. Because it is very handy, I try to get it working again.
The firewall forwards port 5900 directly to the proxmox server (NAT), the web traffic is forwarded to nginx (443, SSL endpoint) which then forwards the web requests (on port 80) to proxmox.
In short, the "web portion" (i.e. the request that starts the java console on the client) is routed like this
(1) client -> firewall -> nginx -> proxmox (http(s); NAT+ReverseProxy)
the "VNC portion" (i.e. the request of the java VNC client running in the browser) is routed like this
(2) client -> firewall -> proxmox (VNC; NAT)
Hence, Proxmox gets the two requests (Web + VNC) from different servers. Is this a problem?
From monitoring the outputs of netstat and related tools, it seems promox gets a request on port 5900 (from the firewall, NAT) but does not accept it.
Can this be solved on proxmox's side?
Thanks
fatzopilot