Allow internet but disallow network

Discussions related to using VirtualBox on Windows hosts.
Post Reply
supercrazymark
Posts: 31
Joined: 14. May 2013, 11:42
Primary OS: MS Windows 7
VBox Version: OSE other
Guest OSses: Windows 7 32bit
Location: Salisbury
Contact:

Allow internet but disallow network

Post by supercrazymark »

Hello,
I am currently using Virtualbox 4.3.0 r89960 to run VM's in a computer suite at the school I am the Network Manager at.

It is currently set to have no NIC's and 1 shared folder so students can copy work to and from the VM.

I have now been asked to look into the possablility of allowing internet access on the VM's but still disallowing any access to the school network.

Is this possible with VirtualBox? If so, could someone please point me in the right direction?

Thank you,

Mark
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Allow internet but disallow network

Post by noteirak »

Three ways you could do this, depending on what's available to you :
- Using NAT or Host-Only, you can user the Windows host firewall to only allow access to outside network, or block the internal ones.
- Using Bridged, you can block specific traffic coming from the VBox MACs or specific IPs if you have a dedicated DHCP for them.

Note that, except for the VBox settings, all this is not related to Virtualbox but is network security in general, and you should think that way when seeking for answers or way of doing things.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
Post Reply