VNC Proxy Behind NAT

asked 2016-04-07 09:39:37 -0500

anonymous user


So this is probably one of those 'why would you want to do that' questions, but I really don't have much of a choice.

I've installed an OpenStack lab at my company. The networking team would only allocate us 5 IP addresses on the corporate network. I need to use several of those for other purposes, leaving only 1 or 2 addresses available for OpenStack. So, I installed OpenStack behind a NAT box. The NAT box is running nginx to proxy web requests from clients.

With this configuration, I can use the Horizon web interface to administer the environment and I can spin up instances. However, the web console view gives me an error, "Server disconnected (code: 1006.)"

If I put a web client inside the NAT, on the same network segment as the OpenStack physical machines, the web console works.

Is there any way to get novnc working through the proxy? I attempted to add a proxying layer in nginx on port 6080 but that didn't seem to work for me. I'm afraid I don't know enough about the networking details to make this work, and even reading the documentation I wasn't able to find enough detail about how this works to fully understand the problem.

edit retag flag offensive close merge delete


Whats the content in nova.conf default section regarding to vnc in controller and compute nodes?

Eduardo Gonzalez gravatar imageEduardo Gonzalez ( 2016-04-07 10:24:17 -0500 )edit

There's nothing for VNC in the [DEFAULT] section. The [vnc] section on the controller is:

vncserver_listen = $my_ip
vncserver_proxyclient_address = $my_ip

And on the compute node is:

enabled = True
vncserver_listen =
vncserver_proxyclient_address = $my_ip
Nogginboink gravatar imageNogginboink ( 2016-04-07 13:44:25 -0500 )edit