I want to create a bridge from the host to the VM. The aim is to ssh into the VM. Also, I want the VM to be able to reach servers running on the host.
The host is Ubuntu 22.04 desktop VM running in UTM on MacBook Pro M1.
Where do I start?
qemu-system-aarch64 -machine virt -cpu cortex-a57 -smp 2 -m 1096 \ -bios /usr/share/AAVMF/AAVMF_CODE.fd \ -netdev user,id=net0,hostfwd=tcp::8022-:22\ -device virtio-net-pci,netdev=net0 \ -drive if=virtio,file="./ubuntu-core-22-arm64.img",format=raw \ -device virtio-gpu-pci \ -device virtio-keyboard \ -device virtio-mouse \ -serial mon:stdio