foxlet / macOS-Simple-KVM

Tools to set up a quick macOS VM in QEMU, accelerated by KVM.
13.64k stars 1.14k forks source link

localhost port forwarding to vm #444

Open valeriandigital opened 3 years ago

valeriandigital commented 3 years ago

Is there a way to pass localhost:3000 to the VM to view my app there in Safari &/or iPhone emulator? I followed the Guide to Bridged Networking using /etc/network/interfaces without success. auto br0 iface br0 inet dhcp bridge_ports enp3s0 tap0

auto tap0 iface tap0 inet dhcp pre-up tunctl -u valerian -t tap0

I also followed this article with the same result https://www.xmodulo.com/configure-linux-bridge-network-manager-ubuntu.html