r/virtualbox • u/NomadJago • 5d ago
General VB Question Is internet only on the vm guest and not the host possible?
Windows 11 host. Is it possible to install and set up a Linux vm guest with internet, and at the same time disable internet for the Windows 11 host?
1
Upvotes
2
u/Face_Plant_Some_More 5d ago
Yes. But it will require -
You'll pass that adapter directly to the VM, using USB passthrough. Your Windows Host will not be able to monitor the traffic passing through said adapter when the VM is running.
2
u/rhyno95_ 5d ago
Pass USB network adapter to VM. Disable the adapter in network settings on windows host to be super safe so it doesn’t temporarily come up before it gets passed through.
2
u/BaconThief2020 5d ago
Set the VM network options to bridged adapter.
In Windows, open the network control panel in windows. (run ncpa.cpl). Right click on your ethernet or wifi connection and go to properties. Uncheck everything except the VirtualBox bridged driver.
1
u/toomanytoons 5d ago
Bridged as another user recommended, and then you could remove the gateway option from the network settings on the host; if it doesn't have a gateway it won't know where to send internet traffic. Optionally you could block the host IP address on the router so it's traffic can't go out.
1
u/Easy_Spray_5491 4d ago
Just get Qube OS 🤣🤣 next you just want internet on the Firefox on the VM and not on another software