You are not logged in.

#1 2020-01-17 23:30:29

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Libvirt + Qemu + Virt manager and Local IPs

Hi.
I'm wondering if it is possible to have VMs created using Libvirt + Qemu + Virt manager, where the machines have local IPs that are accessible from other machines on the network.  E.g. If I was on a machine on the same LAN as the VM host, but not the vm host itself, could the VMs local IPs be discoverable via nmap?

What I'm actually trying to do is use my router's firewall to forward ports directly to the VMs.

Any help would be great.  Let me know if any other info would be helpful.

Last edited by Pacopag (2020-01-17 23:30:56)

Offline

#2 2020-01-18 14:20:32

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: Libvirt + Qemu + Virt manager and Local IPs

my router's firewall to forward ports directly to the VMs

If those forwards are between external / non-local / internet addresses and addresses in your lan that part is easy.

Giving the VMs bridge interfaces is probably what you're looking for.

https://wiki.archlinux.org/index.php/Network_bridge
https://wiki.archlinux.org/index.php/Libvirt#Networks


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB