On Sep 22, 2015, at 10:01 , Tomas Jelinek <tjeli...@redhat.com> wrote:

> 
> 
> ----- Original Message -----
>> From: "Alan Murrell" <li...@murrell.ca>
>> To: "users" <users@ovirt.org>
>> Cc: "Tomas Jelinek" <tjeli...@redhat.com>
>> Sent: Monday, September 21, 2015 8:00:26 PM
>> Subject: Re: [ovirt-users] VNC console behind NAT
>> 
>> Quoting "Tomas Jelinek" <tjeli...@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.

normally it's sequential on each host, so in small setup like yours you will 
get the same port on both host

you would need a full proxy. Is websocket proxy & noVNC in browser an option?

> 
>> 
>> 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
>> 
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to