Allow host to access NAT virtual machine

Here you can provide suggestions on how to improve the product, website, etc.
Post Reply
tingrong
Posts: 2
Joined: 19. Apr 2020, 07:40

Allow host to access NAT virtual machine

Post by tingrong »

Hope virtualbox provide the feature to allow the host access NAT virtual machine (with private IP address). Both qemu and vmware provide this feature.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Allow host to access NAT virtual machine

Post by mpack »

These are the VirtualBox user discussion forums. We are not interested in what QEMU and VMWare do.

NAT, by definition, does not allow "outside access" by default, not in the physical world and not in a virtual network. You could set up port forwarding, but probably shouldn't. If you want the host and VM to be peers on the physical network (i.e. communicate freely in both directions with Internet access) then bridged networking is the one to use. There are other options, but NAT and bridged are the only ones I ever use.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Allow host to access NAT virtual machine

Post by scottgus1 »

tingrong, look at Virtualbox Networks: In Pictures. This might help you see what Virtualbox can do.
Post Reply