Situation: There is a stationary computer on which Windows OS is installed, VirtualBox is installed on Windows. Linux Ubuntu server is installed on the virtual box.

Tell me what settings you need to make in Linux (virtual) and Windows in order to be able to connect from Windows to the ubuntu server virtual machine via ssh and at the same time have Internet on the virtual machine!!!

P.S. clambered all over, tried many different ways, nothing helps.