[geeks] Irix port forwarding (SMB ports)
Caleb Shay
caleb at webninja.com
Mon Feb 10 16:03:17 CST 2003
In the end I did get it to work. I actually only needed port 139. I
did the forwarding on the machine at the office between ports 2000 local
and 139 on the file server (2000 needed since Cox blocks outgoing
connections on 139) with:
ssh -g -l username -N -R 2000:fileserver:139 -L 2000:fileserver:139 sgi
and then set up a tunnel between 139 on my home machine and 2000 on the
sgi using the standard practices. Then it was just a matter of
smbmounting //localhost/sharename
Additionally, it didn't seem to be slow at all. Only slighly slower
than a local network smb mount.
Caleb
On Mon, 2003-02-10 at 04:38, Kevin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> 137, 138 and 139 are what you would be most concerned with.
> 137 is the name service, 138 datagram service (network
> neighborhood broadcasts) and 139 is netbios session. 135
> (RPC mapper) is not necessary just for connecting to
> remote shares and 136 isn't used at all.
>
> Win2k can do SMB without netbios over 445 but you have to have
> samba running via inetd to support this (-D daemon option
> doesn't work with it, might be changed in the latest
> version though). I've never tried it but i suspect this might
> give better performance over a low bandwidth connection (no
> netbios overhead). In the past i have gotten crap performance
> doing SMB over the net. Not really made for that. It
> works.... kinda :)
>
> /KRM
>
> On Sat, 8 Feb 2003 15:35:37 -0500
> Kurt Huhn <kurt at k-huhn.com> wrote:
>
> >
> > This is exactly what I would do, but I've never actually set
> > it up. I think TCP ports 135-139 are what you need to
> > tunnel.
>
> > Kurt "My name is James Connolly, I didn't come
> > here to die, kurt at k-huhn.com but to fight for the rights
> > of the working man..."
>
> - --
> keyserver: http://pgp.mit.edu/
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.7 (GNU/Linux)
>
> iD8DBQE+R3Mk4pH/bZtToq0RAmKsAJ9WHFDTzl47l/ZE4sQd91etxUF5KgCfcnyk
> 6Ko13vUP1F2fBnh3NB0YzNU=
> =CxfU
> -----END PGP SIGNATURE-----
> _______________________________________________
> GEEKS: http://www.sunhelp.org/mailman/listinfo/geeks
--
/*---------------------------------------------------------------------
Caleb Shay "UNIX _IS_ user friendly.
Programmer/System Administrator It's just particular about
Providence, RI who its friends are."
---------------------------------------------------------------------*/
More information about the geeks
mailing list