Browsed by
Tag: Virtualization

Redirect port to guest in libvirt

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-namevirsh edit my-vm-name In header add xmlns <domain type=’kvm’ xmlns:qemu=’http://libvirt.org/schemas/domain/qemu/1.0′><domain type=’kvm’ xmlns:qemu=’http://libvirt.org/schemas/domain/qemu/1.0′> Change interface type to user <interface type=’network’><interface type=’network’> to this: <interface type=’user’><interface type=’user’>