I want to run Windows VM on my Windows Server and I want to access one port of this VM I can configure VM networking as NAT with port forwarding, this works fine. But I want the machine to do not have access to the internet - anything except incoming connections on specific port.
Is this possible to configure in VirtualBox and how?
After few partial answers and discussion I have found this utility PassPort. Now I have working solution:
- configure VM with host-only networking
- setup PassPort to forward host_ip:host_port to VM (vbox_only_interface_ip:vm_port)
- open host port at Windows Firewall
VM is accessible at host interface, from LAN and from host and VM has no access to LAN.
I am just wondering if this utility is nescessary. Is it possible to configure this without PassPort?