![]() I figure what I need is something akin to the //vboxsvr guest addition that VirtualBox uses to do host file sharing, but probably rather simpler since it wouldn't need a full back end - in my ideal world, the only Windows functionality I'd need to replace is the part that establishes the initial connection to the remote SMB server. In the usual way, except that instead of Windows looking for //servername on ports 445 or 139 of whatever machines it could find, it would go straight to address IP, port PORT and if IP happened to be 127.0.0.1 and PORT happened to be something forwarded to somewhere else via ssh, it would All Just Work and I would no longer need to deal with the walls of stupid that Windows puts around access to localhost ports 139 and 445. Net use X: //servername/sharename /user:username * This would work hand in hand with a driver? dll? that hooks into Windows as an SMB redirector, but scans a table of server names set up by netsubst instead of looking them up on the network in order to find out what to connect to. What I have in mind is a little command line app that would let me do something like As with Windows guests, shared folders can also be accessed via UNC using VBoxSF, VBoxSvr or VBoxSrv as the server name and the shared folder name as sharename. ![]() ![]() Natively, Windows will not do SMB over any ports other than 445 or 139 (its choice), and I'm sick of playing whack-a-mole with workarounds for the various Bad Things that Microsoft keeps adding to Windows to fsck up tunnelling SMB over SSH port forwarding. Performance still very poor when using the shared folder in a Windows 10 guest on Ubuntu host (operations using the guest’s. Also edited lmhosts to include 255.255.255.255 VBOXSVR PRE 255.255.255.255 VBOXSRV PRE as I have seen in official VirtualBox documentation. I would like to implement a little tool that lets me do on Windows what I can already do easily on any other OS - specify a remote SMB server by both IP address and port. Yes that is what I did, edited the abovementioned file in the Windows guest.
0 Comments
Leave a Reply. |