I'm using Virtual Box 6.0.16 on a Windows 10 Pro (1903) host. I have setup a few simple VMs with NAT, and can't get port forwarding to work at all (i.e. I use the GUI to set it up, but more-or-less equivalent to what is documented in Chapter 6, section 6.3 of the manual which shows how to do this by CLI).
On the windows side, the connection times out.
The error I get in vbox.log (for example with an Ubuntu 16.04.3-desktop-amd64 image clean install) is:
Code: Select all
00:00:03.480700 NAT: Failed to redirect TCP 127.0.0.1:2222 -> 0.0.0.0:22 (Unknown error)
A similar config on a macOS host shows
Code: Select all
00:00:00.589465 NAT: Set redirect TCP 127.0.0.1:2222 -> 0.0.0.0:22
I don't see port 2222 open via netstat on the Windows 10 host. I have tried setting explicit IP addresses for both src and dst of the port forward, and get the same unknown error.
What troubleshooting steps would you suggest?
Thanks.