4 ms·
You can add shared folders at the host side at runtime and then mount them in the guest. Or you can expose network filesystems (CIFS, NFS) on either side and mo
by Cei5ouko 8y ago
You can add shared folders at the host side at runtime and then mount them in the guest. Or you can expose network filesystems (CIFS, NFS) on either side and mount on the other.
- TicklishTiger 8y agoAs I understand it, host and guest can not see each other on the lan. So I think neither is possible.
- detaro 8y agoThat depends on how you configure the networking for the VM.
- TicklishTiger 8y agoYes, I stated that in my original question already.
- detaro 8y agoNot clearly IMHO. If the VM being able talk to the host is not acceptable to you, even if you only activate that during runtime when you need it, then scp obviously isn't a solution.
- Unklejoe 8y agoChange the networking config from NAT to bridged. The VM will now appear as a truly independent device on your LAN, as if it were plugged into a switch.
- TicklishTiger 8y agoBut then it can talk to the lan. I don't want that. The whole reason I have some apps running in a VM is to be shielded from them.
- Spivak 8y agoThen you need to add a port forward to get through the NAT. However, NAT isn't security and you might be better off using a bridge and a firewall to shield your VM.
- Cei5ouko 8y agovirtualbox adds a network interface to connect host and VM to each other, you can reach them via private IPs. the exact IPs used depend on the type of network mapping used (NAT, host-only, bridged)