disabling Internet-access of the guest OS but printing and accessing an NAS

This is for discussing general topics about how to use VirtualBox.
Post Reply
Joe890
Posts: 26
Joined: 14. Jan 2020, 18:08

disabling Internet-access of the guest OS but printing and accessing an NAS

Post by Joe890 »

Hello forum

I would like to disable Internet-access of a Windows7 VM/guest, but printing and accessing an NAS should remain possible.


Is this possible? How?


Thank's a lot for any help!

Joe


HostOS: Linux Mint
multiOS
Volunteer
Posts: 825
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

Re: disabling Internet-access of the guest OS but printing and accessing an NAS

Post by multiOS »

I'd suggest easiest way would be using the Network Settings in Windows 7 Control Panel to remove internet access while retaining access to network printers etc..
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: disabling Internet-access of the guest OS but printing and accessing an NAS

Post by scottgus1 »

Virtualbox has no method to block internet to a guest while leaving the guest full access to the host's LAN.

I block internet to Virtualbox guests or real computers by using the LAN network router's Access Restrictions or Parental Controls. If the router cannot block internet by computer name or MAC address, then set a static IP address in the guest and block that IP address in the router.

This method allows the guest's network settings to be completely normal settings and access to the LAN, but have no internet.
Post Reply