Cant connect to linux VM host from Windows VM

Discussions related to using VirtualBox on Linux hosts.
Post Reply
MeTelek
Posts: 6
Joined: 23. Nov 2022, 21:23

Cant connect to linux VM host from Windows VM

Post by MeTelek »

Hi Guys,
I'm running Ubuntu 22.04 as a host (192.168.1.102) and Virtual Box Version 6.1.38 r153438 and have a Windows 11 Virtual machine. (192.168.103)

The VM can talk to the internet fine.

The VM's network interface is configured as a Bridged Adapter.
After disabling Windows Firewall I was able to ping the VM from the linux host and I could do a port scan and it shows the open ports on the windows VM. And I could telnet to port 445 of the vm as an example.

But, from the windows VM I can ping the linux host but cannot establish a connection to any open ports on the linux host.

Open Ports on my host.
Nmap scan report for user-All-Series (192.168.1.102)
Host is up (0.00016s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
25/tcp open smtp
3389/tcp open ms-wbt-serveR

Open Ports on my win 11 VM.
Nmap scan report for 192.168.1.103
Host is up (0.00033s latency).
Not shown: 997 closed ports
PORT STATE SERVICE
135/tcp open msrpc
139/tcp open netbios-ssn
445/tcp open microsoft-ds

So why cant I for example, telnet from the windows VM to the Linux host. It just times out.
I also saw the following in my logs.

[ 473.118811] vboxdrv: 0000000000000000 VMMR0.r0
[ 473.259103] vboxdrv: 0000000000000000 VBoxDDR0.r0
[ 473.466984] VBoxNetFlt: attached to 'wlp7s0' / e0:d4:e8:d7:86:83
[ 473.479943] VMMR0InitVM: eflags=246 fKernelFeatures=0x0 (SUPKERNELFEATURES_SMAP=0)
[ 2232.225007] vboxnetflt: 21700 out of 44441 packets were not sent (directed to host) <----------------- THIS ?????
[ 2361.633624] vboxdrv: 0000000000000000 VMMR0.r0
[ 2361.738318] vboxdrv: 0000000000000000 VBoxDDR0.r0
[ 2361.833920] VBoxNetFlt: attached to 'wlp7s0' / e0:d4:e8:d7:86:83
[ 2361.840159] VMMR0InitVM: eflags=246 fKernelFeatures=0x0 (SUPKERNELFEATURES_SMAP=0)

Any help would be appreciated.
Cheers,
John
Post Reply