How to give virtual machine access to the Internet, but block from LAN?
Posted
by Pekka
on Super User
See other posts from Super User
or by Pekka
Published on 2010-03-07T17:24:05Z
Indexed on
2010/03/08
22:21 UTC
Read the original article
Hit count: 349
I am setting up a virtual machine using Microsoft Virtual PC in Windows 7. The VM will run a Windows XP.
I want to set up a public-facing server in it for web pages, subversion and other things, and instruct the router to port forward any requests to that Virtual Machine.
I managed to do that - I assigned the VM to the network adapter, and it is now acting as just another DHCP client - but to increase security I would like to block the VM from the rest of the LAN, so it accepts only incoming connections from the Internet. For this to be effective in case of a compromise, it would have to happen on VM level as far as I can see.
Can this be done?
© Super User or respective owner