This may take some more resources, but not much.
You can try getting a software firewall, like pfsense, and create an internal "vm network" that will be firewalled by a powerful software-based firewall.
У меня есть Windows7 + Cygwin и VirtualBox. Я бы открыл порт прослушивания на хосте, принимающем только входящие соединения от виртуальных машин.
Примечание. Во многих случаях серверные службы, работающие на хосте, могут быть ограничены некоторыми IP-адресами, например, виртуальными машинами (подсетью), но некоторые блоки, расположенные в той же сети, что и хост, могут подделывать свои IP-адреса, что делает эти ограничения неэффективными.,
This may take some more resources, but not much.
You can try getting a software firewall, like pfsense, and create an internal "vm network" that will be firewalled by a powerful software-based firewall.
You could set up a host-only network within Virtualbox. This is a virtual LAN which includes the host and any guests which are attached to it. You would then add a network adapter to each of your guests and attach the adapter to the host-only network. The guests and the host would be able to communicate through the private network.
Once you've done this, processes running on the host could bind specifically to the IP address for the host-only network interface. Only processes running on the host or one of the VMs would be able to contact the host's host-only network address.
The basic process is as follows: