I'm trying to get port forwarding working through libvirt on top of QEMU and KVM. I found this article (https://snippets.webaware.com.au/howto/running-qemu-with-port-redirection-through-libvirt/), but the XMLNS it points to (http://libvirt.org/schemas/domain/qemu/1.0) does not seem to exist anymore. Any advice would be greatly appreciated!

I'm running libvirt version 1.2.18 and qemu-kvm version 2.3.0


1 Answer 1


If you want to run a server, you should not use port-forwarding anyway. You can create a bridge on your physical ethernet interface and use your VM network interfaces as slaves of this bridge as. Then every VM can get its own IP address and you can access it directly (just open the port on the VM). Network setup is mentioned in the libvirt docs.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.