Hello.
I would like to redirect some ports from user network to host system.
In console i can do it:
/usr/libexec/qemu-kvm -drive file=/home/libvirt/qemu-fedora.img -vnc
10.200.1.1:1 -net user -redir tcp:22000::49999 -redir tcp:22001::22
How can i do it with libvirt?
I make users network in XML config VM:
<interface type='user'>
<mac address='52:54:00:48:3f:f5'/>
<alias name='net0'/>
<address type='pci' domain='0x0000' bus='0x00'
slot='0x03'
function='0x0'/>
</interface>
But i don't know - how to make redirecting ports and i cann't fint it
in documentation. Is it possible?
--
Thanks for your feedback.
Best regards,
Alex