I have a Linux guest VM running under a Windows host. If I set the networking mode to NAT, the guest can get internet access (which I want), but can also access the hosts LAN (which I dont).
For various reasons, I cannot set up a separate network just to provide internet access to the guest.
Can I use Windows Firewall, or some routing software to allow me to give internet access to the guest, but block all other access?
EDIT - I got the solution from the virtualbox forums: Use NAT with windows firewall to block the guest.
My mistake was trying to set up the rule on the host where (program = all, local IP = guest IP range). Rule actually should be (local IP = all, program=virtualbox.exe), since the NAT already happen before it hits the firewall