[ovirt-users] VNC console behind NAT
Tomas Jelinek
tjelinek at redhat.com
Tue Sep 22 08:01:28 UTC 2015
----- Original Message -----
> From: "Alan Murrell" <lists at murrell.ca>
> To: "users" <users at ovirt.org>
> Cc: "Tomas Jelinek" <tjelinek at redhat.com>
> Sent: Monday, September 21, 2015 8:00:26 PM
> Subject: Re: [ovirt-users] VNC console behind NAT
>
> Quoting "Tomas Jelinek" <tjelinek at redhat.com>:
>
> > Display address override would not help?
> > http://wiki.ovirt.org/Features/Display_Address_Override
>
> I wasn't aware of that feature, or at least I don't think I was :-) I
> must have had that enabled previously when I was able to connect via
> VNC console through NAT via VNC console.
>
> Is the VNC port that is used different for each host also? I
> currently only have one host, and it gives a connection on port 5902.
> If I added a second host, would it also use 5902 or would the engine
> assign a different VNC port to it?
the port is not really deterministic - depends on how many VMs are running and to which you are connected to etc.
Imagine you have 2 vms on the same host and connect to both of them - they need to listen on different ports.
>
> The reason I ask is that for a multi-host setup, that could become a
> bit of an issue if they all use the same port (using different host
> names is not an issue). If the same port is used for all hosts, can
> this be overridden too?
no, I don't think so. Maybe using some vdsm hook but it is not a nice solution.
>
> If it can't be, then I suppose one solution would be to setup a a TCP
> proxy and forward port 5902 to it, then let it handle the connection
> to the correct host based on the host name used.
>
> I hope that makes sense?
>
> Regards,
>
> Alan
>
More information about the Users
mailing list