I have a vm up and running after following some of the examples in the documentation. One thing I can't quite figure out how to do, is allow the Host to access services running on the VM from localhost. From the documentation it looks like there might be a couple options:
-
Write a function that checks for new broadcasted ports from the guest, and then sets up a socket connection to the host for the port
-
Try to obtain the com.apple.vm.networking entitlement for my application and setup a Bridged network device instead of a NAT
Is there anything I am missing like a way to accomplish this easier with NAT, or are those the main options?