Using remote viewer outside lan

Hi all, I am able to access my VMs from LAN using remote Viewer, however this is not working from outside LAN, my setup is as follow: 1. Controller in a separate HW machine 2. Host in a server When checking the console.vv file, I see that it includes the local IP address of the host + port 5900. Is there a way to force ovirt to generate a console.vv file with public IP port when the user tries to connect from Internet and another file with lan IP when the user tries to connect from LAN. Any hint on how to set this feature up ? Best regards

I would recommend setting up an openvpn server or something over opening that up to the outside. Just my two cents. On Tue, May 22, 2018, 8:06 PM Aziz <azizgstest@gmail.com> wrote:
Hi all,
I am able to access my VMs from LAN using remote Viewer, however this is not working from outside LAN, my setup is as follow:
1. Controller in a separate HW machine 2. Host in a server
When checking the console.vv file, I see that it includes the local IP address of the host + port 5900. Is there a way to force ovirt to generate a console.vv file with public IP port when the user tries to connect from Internet and another file with lan IP when the user tries to connect from LAN.
Any hint on how to set this feature up ?
Best regards
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org

You could try at cluster -> console, to overwrite the default with your public. Alex On Wed, May 23, 2018, 03:06 Aziz <azizgstest@gmail.com> wrote:
Hi all,
I am able to access my VMs from LAN using remote Viewer, however this is not working from outside LAN, my setup is as follow:
1. Controller in a separate HW machine 2. Host in a server
When checking the console.vv file, I see that it includes the local IP address of the host + port 5900. Is there a way to force ovirt to generate a console.vv file with public IP port when the user tries to connect from Internet and another file with lan IP when the user tries to connect from LAN.
Any hint on how to set this feature up ?
Best regards
_______________________________________________ Users mailing list -- users@ovirt.org To unsubscribe send an email to users-leave@ovirt.org

Hi, Aziz <azizgstest@gmail.com> writes:
Hi all,
I am able to access my VMs from LAN using remote Viewer, however this is not working from outside LAN, my setup is as follow:
1. Controller in a separate HW machine 2. Host in a server
When checking the console.vv file, I see that it includes the local IP address of the host + port 5900. Is there a way to force ovirt to generate a console.vv file with public IP port when the user tries to connect from Internet and another file with lan IP when the user tries to connect from LAN.
Any hint on how to set this feature up ?
I don't think you can set up a different IP based on the connection source. What I would recommend is setting up a web proxy on your ovirt host and then tell it to always use the proxy. Specifically, always use the public IP address. Of course, this assumes you can reach the public IP from inside your network. If you can't, then you might have a bigger issue.
Best regards
-derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH warlord@MIT.EDU PGP key available
participants (4)
-
Alex K
-
Aziz
-
Derek Atkins
-
Wesley Stewart