UTM icon indicating copy to clipboard operation
UTM copied to clipboard

Network: please provide internal mode

Open kgfly opened this issue 3 years ago • 5 comments

Currently, network only has 2 mode: share and bridged model (Mac M1 Pro. Host Mac: 12.6. VM: 12.6. UTM Version: 3.2.4 58)

Request: please provide internal mode. Etc host machine can access VM shared folder. But VM cannot access Internet.

Thanks.

kgfly avatar Oct 26 '22 19:10 kgfly

Are you referring to 'host-only' mode? This is where the host can contact the VM.

'Internal' mode has traditionally referred to a mode where two or more VMs could network together, but the host could not connect. This is an important difference and a very useful mode for emulating routers and gateways.

dtpoirot avatar Nov 03 '22 08:11 dtpoirot

Host-only mode. I am running UTM 4.0.9 (68) Host: macbook pro 14 inch: 12.6.1

Here is what I observed: image

I do not see "Host only" option.

So is "Host only" option supported now?

Thanks.

kgfly avatar Nov 06 '22 19:11 kgfly

See also #4202 (host-only mode with static IPs)

dragos-bth avatar Nov 06 '22 23:11 dragos-bth

On the mac M1 / Apple Silicon using Apple Virtualization, VZFileHandleNetworkDeviceAttachment looks promising as a way to create internal-only networks.

https://developer.apple.com/documentation/virtualization/vzfilehandlenetworkdeviceattachment

I am thinking something like in VirtualBox where we can create one or more named internal-only networks and then attach one or more VMs to each named network. This would allow me to analyze malware in an M1-based macOS VM that can talk to another VM (for monitoring network activity) without exposing the host system's network interfaces to the "malware" network.

malwarefrank avatar Nov 22 '22 21:11 malwarefrank

Are there any plans to implement this?

coquizen avatar Jul 09 '24 16:07 coquizen