Shared Network is not working when host Mac M1 Firewall is enabled #3530
Replies: 6 comments 6 replies
-
Interesting... I've been getting spotty acceptance of Shared Network across a number of my VMs, and you may have just helped me isolate the culprit: I think that Little Snitch may be to blame for the Shared Network interface failing to come up in some situations. I'll add "look at how shared network is implemented" to my backlog of things to investigate :) Possibly there's a sanity check it's doing that fails if certain packets are blocked. |
Beta Was this translation helpful? Give feedback.
-
For a macOS 12.4 VM, I had to add Shared networking worked after that. For other VM types, you might look at the process hierarchy in Activity Monitor under UTM to see if there are any other processes that might do the trick |
Beta Was this translation helpful? Give feedback.
-
Ah; I use Little Snitch instead of the built in firewall, so have never run into this issue.
…-Em
On Jun 13, 2022, at 10:12 AM, digitalqualms ***@***.***> wrote:
For a macOS 12.4 VM, I had to add /System/Library/Frameworks/Virtualization.framework/Versions/A/XPCServices/com.apple.Virtualization.VirtualMachine.xpc/Contents/MacOS/com.apple.VirtualizationVirtualMachine to the allowed firewall settings. Since it's inside an .xpc package, I had had to browse for it in Finder, "Show package contents" and then drag it to System Preferences.
Shared networking worked after that.
For other VM types, you might look at the process hierarchy in Activity Monitor under UTM to see if there are any other processes that might do the trick
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.
|
Beta Was this translation helpful? Give feedback.
-
Seems like this isn't possible in Ventura as drag drop doesn't work with the Firewall settings. Is there a terminal command I can use? |
Beta Was this translation helpful? Give feedback.
-
None of the above suggestions worked for me. I added qemuhelper and qemulauncher in addition to UTM and |
Beta Was this translation helpful? Give feedback.
-
I think I solved this by adding /Applications/UTM.app and /Applications/UTM.app/Contents/XPCServices/QEMUHelper.xpc/Contents/MacOS/QEMULauncher.app to firewall exceptions. To add the later, you need to drag and drop from Finder after clicking the Plus (+) icon in firewall settings. |
Beta Was this translation helpful? Give feedback.
-
Running UTM 3.0.4 on Mac M1 OS 12.01.
![image](https://user-images.githubusercontent.com/8470672/150728781-58134fdf-8012-412f-b7e4-48d10a4dcb22.png)
If I have host Mac's Firewall enabled I'm not getting assigned ipv4 IP on the guest VMs (currently playing with centos 7 x86_64, but I think I also had it with arm ubuntu).
if Firewall (on Mac host) is enabled and you try to down/up the interface it will timeout.
when Firewall (on Mac host) is disabled the interface comes up nicely
and I have ipv4
I've tried to add UTM as "allowed" app like that, but it doesn't help
![image](https://user-images.githubusercontent.com/8470672/150729040-ea4877e5-f340-4dd9-a24c-334da6eb649a.png)
Beta Was this translation helpful? Give feedback.
All reactions