Re: Help with libvirt

2022-04-19 Thread Francesc Guasch

El 11/4/22 a les 15:06, Eduardo Kiassucumuca ha escrit:
Good morning I'm Eduardo, a computer science student and I'm doing a final 
course work focused on virtualization. The work consists of creating virtual 
machines on a server and allowing ssh access to the virtual machines that are 
on the server containing qemu/kvm/libvirt. The problem is that I can't access 
the virtual machines from an external network but I can access them inside the 
server. I would like to know what would be the best way since we want to have 
a single public ip and be able to have a reverse proxy to access the virtual 
machines, I would like to know from your experience what you recommend?


Hello Eduardo. I am afraid I am promoting our own project now. :)

We have a feature in Ravada VDI to easily expose ports. It was
a feature created for students virtual machines in a classroom.
But it can be applied anywhere.

https://ravada.readthedocs.io/en/latest/docs/expose_ports.html

Hope this helps.



Re: Help with libvirt

2022-04-13 Thread Martin Kletzander

On Mon, Apr 11, 2022 at 01:06:54PM +, Eduardo Kiassucumuca wrote:

Good morning I'm Eduardo, a computer science student and I'm doing a
final course work focused on virtualization. The work consists of
creating virtual machines on a server and allowing ssh access to the
virtual machines that are on the server containing
qemu/kvm/libvirt. The problem is that I can't access the virtual
machines from an external network but I can access them inside the
server. I would like to know what would be the best way since we want
to have a single public ip and be able to have a reverse proxy to
access the virtual machines, I would like to know from your experience
what you recommend?


It all depends on what network are the VMs running.  There are lot of
options, but my guess is you are using the default network.  It also
depends on whether you want to just forward few ports or have those
machines fully accessible.  For port forwarding you can have a look at
our wiki:

  https://wiki.libvirt.org/page/Networking#Forwarding_Incoming_Connections

but there are always more ways to do the same thing, so that page
describes only few variants.

Have a nice day,
Martin


signature.asc
Description: PGP signature


Help with libvirt

2022-04-13 Thread Eduardo Kiassucumuca
Good morning I'm Eduardo, a computer science student and I'm doing a final 
course work focused on virtualization. The work consists of creating virtual 
machines on a server and allowing ssh access to the virtual machines that are 
on the server containing qemu/kvm/libvirt. The problem is that I can't access 
the virtual machines from an external network but I can access them inside the 
server. I would like to know what would be the best way since we want to have a 
single public ip and be able to have a reverse proxy to access the virtual 
machines, I would like to know from your experience what you recommend?