Redirect port to guest in libvirt

If you want to redirect ports from WAN to quest Virtual Machine than you may do this:
Go to edit VM from Virsh

virsh edit my-vm-name

In header add xmlns

<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
</domain>

Change interface type to user

<interface type='network'>
</interface>

to this:

<interface type='user'>
</interface>

Читать далее Redirect port to guest in libvirt