Open rz1027 opened 5 months ago
@CatalinFetoiu
@rz1027 thanks for reporting the issue
if you disconnect your OpenVpn connection, does the issue still reproduce?
"I am not sure how to reproduce this without OpenVPN (tried a host-only adapter on virtual box but it didn't get mirrored to WSL in mirrored mode)." Note: The network I am connecting to using OpenVPN is through a TAP-Windows6 virtual network adapter.
Anyway I tested this using my normal wifi network with OpenVPN disconnected. Created a virtual machine with bridged adapter (ip: 192.168.1.107). So now:
Host IP: 192.168.1.103 WSL IP: 192.168.1.103
Virtual Machine (I will get callback from it): 192.168.1.107
And yes, I can get the call back (nc IP 9001) on both the WSL and HOST.
Want me to try something ?
Hi. Can you please collect networking logs by following the instructions below? https://github.com/microsoft/WSL/blob/master/CONTRIBUTING.md#collect-wsl-logs-for-networking-issues
I am trying mode mirrored, my local ip is 192.168.1.103 and I am connected through an OpenVPN to a remote network so my tun0 ip is 10.10.16.25.
When listening to a callback on the Windows side (ncat.exe -nlvp 9001) it works just fine and connection establishes.
On Linux side with mirrored mode on (seeing the exact same network interfaces) my listener (nc -nlvp 9001) doesnt get the callback. Which seems a weird case to me.
I tried establishing a hyperV firewall rules to allow traffic through this port, tried disabling both Windows and HyperV firewalls, tried connecting to VPN from inside WSL2 instance. Nothing seems to get me this callback inside WSL2...