Hi,
For security reasons we would like to disable all VM guest networking but leaving just USB.
Even if installing VirtualBox without Brigde and Host networking, NAT is always active and this way a user can reach internal network.
Is there any way to accomplish this?
Thanks.
How to disable all guest networking
-
- Volunteer
- Posts: 362
- Joined: 18. Aug 2014, 21:53
- Primary OS: Debian Sid
- VBox Version: PUEL
- Guest OSses: Android, Linux
Re: How to disable all guest networking
Remove the virtualized networkcard from the vm settings.
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: How to disable all guest networking
Or disconnect its cable...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Re: How to disable all guest networking
Remove? You mean disabling "Enable Network Adapter" 1, 2, 3 or 4
A simple user can activate it again, and NAT is still available.
A simple user can activate it again, and NAT is still available.
Re: How to disable all guest networking
That will do it , but they still need to access internal network from host machine.socratis wrote:Or disconnect its cable...
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: How to disable all guest networking
What simple user?MAFS77 wrote:A simple user can activate it again
1) You said no networking, 2) Who's "they"?MAFS77 wrote:they still need to access internal network from host machine
Why don't you describe in detail what you want to do, instead of what you think you want to do...
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Re: How to disable all guest networking
Sure.socratis wrote:Why don't you describe in detail what you want to do, instead of what you think you want to do...
I have here some users that need to run a Virtualbox VM on their machines and I don't want the VMs to have access to the internal network, not even the host.
Just USB access will be sufficient.
From the tests that did, an clean install of VirtualBox without Bridge or Host only interfaces will have access to the internal network if NAT is enabled for the virtual network interface.
Do you know any way to disable NAT availability to the VM?
Thanks.
Marco
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: How to disable all guest networking
The answers to that were already given above. NAT is enabled by default, but you can easily turn it off.MAFS77 wrote: Do you know any way to disable NAT availability to the VM?
-
- Site Moderator
- Posts: 27329
- Joined: 22. Oct 2010, 11:03
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Win(*>98), Linux*, OSX>10.5
- Location: Greece
Re: How to disable all guest networking
You can't stop them. If a user can run a VM, said user can modify a VM and its settings. And they can enable or disable NAT at will. And NAT (along with NATservice), *has* access to your LAN resources.mpack wrote:I have here some users that need to run a Virtualbox VM on their machines and I don't want the VMs to have access to the internal network, not even the host.
Nope. Not there. Can't do. VirtualBox can't be locked in the way that you think, you got to trust your users to not enable that, but you can't enforce it.MAFS77 wrote:Do you know any way to disable NAT availability to the VM?
There are some things you can lock down, but not a man that knows their way around. For more details see ch. 9.19 Locking Down the Oracle VM VirtualBox GUI.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Re: How to disable all guest networking
Thanks for your answer.
May be a feature in the future.
May be a feature in the future.
Last edited by socratis on 25. Mar 2019, 20:20, edited 1 time in total.
Reason: Removed unnecessary verbatim quote of the whole previous message.
Reason: Removed unnecessary verbatim quote of the whole previous message.