I have a Windows 2022 Server, build 23H2 / 22631, and it runs an Ubuntu 22.04 distribution in WSL2.
If I'm on the server itself, I can access the files in this distribution using the \\wsl$\Ubuntu
path in Explorer.
Is there a way to access these same files from Explorer on a different machine that has network connectivity to the server?
I can access e.g. \\server\c$
just fine from this network machine. I wish I could go to e.g. \\server\wsl$\Ubuntu
and get to the server's WSL files, but nothing like this seems to exist.
I thought about installing Samba on the Ubuntu distribution. But the distribution has the same hostname as the host 2022 server, so I don't know how I'd redirect SMB traffic to WSL without somehow killing the host's SMB traffic.
If possible, I'd like to avoid hacks like copying files / synching / scp. I'm aware of these, though they are less convenient. Direct access to the files via Explorer would be ideal.