I'm trying to set up a virtual machine ( sandbox ) to test a single project. I use VirtualBox and Windows10 for the guest. The network is configured as host only (the default host receives the address 192.168.56.1, the built-in dhcp VirtualBox server is 192.168.56.100 and the guest is 192.168.56.101)
I need the programs running in the guest system to consider that they have access to the Internet. For verification, they use the standard method InternetGetConnectedState() from wininet.dll .
Now InternetGetConnectedState() returns FALSE (and lpdwFlags = 0x10 ).
What do I need to change in the configuration of my sandbox so that InternetGetConnectedState() returns TRUE ? I can run any additional services on the host or other virtual machines - such as DNS or web server. I have already tried to emulate NCSI - but to no avail. I also tried to analyze all traffic on the VirtualBox virtual interface using wireshark - but I could not find the relevant requests.
FALSE, there is nothing interesting in the flags - all zeros except for theRASflag, which is set by default. - Pioneer