Skip to contentSkip to conversation

cannot start my machine due to an network error

DISCUSSION 潘景泰先生 1 participant 1 message Mar 29, 2021 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

hi all,i am creating my qemu virtual machine but gets an problem. the script as in attachment.we seen so many people can foward host to guest but no one show on stackxxx which says how to use -net user options to foward my things from guest to host. please help.alice

qemu-system-aarch64 -M virt -boot d -cdrom '21343.1000.arm64.ISO' -hda 'Windows 10 Enterprise arm64.vhdx' -serial mon:stdio -device usb-mouse -soundhw hda -nic user,model=virtio-net-pci -net user,hostfwd=tcp:10.0.2.2:3389-:localhost:3389,hostfwd=tcp:10.0.2.2:445-:localhost:445,hostfwd=udp:10.0.2.2:3389-::localhost:3389,hostfwd=udp:10.0.2.2:445-:localhost:445,guestfwd=tcp::3389-::3389,guestfwd=tcp::445-::445,guestfwd=udp::3389-::3389,guestfwd=udp::445-::445 -overcommit mem-lock=off,cpu-pm=on -tpmdev passthrough,id=tpm0 -vnc ':2'