[Samba] Re: Virtual network using ssh tunneling on Windows 2K/XP.Please help.

Paul Gardiner samba-list at laser-point.co.uk
Mon Feb 9 09:06:19 GMT 2004


From: "Paul Gardiner" <samba-list at laser-point.co.uk>
> From: "Jérôme Fenal" <jerome.fenal at logicacmg.com>
> > Paul Gardiner wrote:
> > > Hi,
> > > I'm trying to connect to a samba server via an ssh tunnel.  I'm running
> > > ssh on my W2K machine.  If I try to connect from another machine that
> > > is running an OS called RiscOS and a NetBIOS client called LanMan98
> > > then it works perfectly, but if I try to connect from the another Windows
> > > machine running XP, or from the W2k machine (uisng loopback), I get
> > >
> > > "Windows cannot find \\127.0.0.1\sharename.  Check the spelling and try again,
> > > or try searching for the item by clicking the Start button and then clicking
> > > Search."
> > >
> > > I've found claims on the net of this working.  So what am I doing wrong
> > > (other than using Windows in the first place :-) )?
> >
> > What are ports that you tunnel with SSH ?
> > Did you forget to tunnel 445 ?
>
> I did, but I've added it now, and I'm still getting the same error message.  I
> also tried forwarding 138 and 137, with no effect.
>
> Any other ideas?
>
>
> BTW, to forward 445, I had to stop W2K binding it, but I found info on
> a registry change that did the job.

I'm still getting nowhere with this.  Its strange: I can get LanMan98 (under RiscOS)
and smbmount (under Linux) to mount this share via the ssh tunnel with only port 139
forwared, but I can't find a way to tell Windows XP to just use port 139.



More information about the samba mailing list