redirect ports from user network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux