Win95/SMB mounts on non-standard ports
sdw at aol.net
Wed Sep 10 15:53:22 GMT 1997
I need suggestions!
Here's the problem I'm trying to solve:
Win95 (and possibly WinNT) pc's connecting to a site from various
locations over the Internet (using various methods).
Dynamic IP assumed, etc.
Using ssh/sshd for security which supports socket proxy in both
directions over an encrypted, compressed, authenticated TCP
connection. This allows X windows, telnet/rlogin, connecting or
listening on certain ports on both sides for databases, etc.
With ssh on a separate box (ie. a Linux box next to the PC in question
on a local network) it's a simple matter to proxy ports 137/138 with
an entry in the Win95 lmhosts and mount a remote file system securely.
What I'd like to accomplish is using the Win95 SSH client (commercial
from www.datafellows.com, $100) to allow the same machine to access an
SMB file system proxied from the Win95 SSH.
Ideally you would be able to specify the ports in lmhosts also or even
in the registry, but I've found no reference for this and it doesn't
surprise me that MS left it out. As a comparison, you can easily
specify all ports for NFS.
I either need the local SSH to be able to proxy the normally local
ports (137/138 for 127.0.0.1) and be able to specify 127.0.0.1 in
lmhosts (about to try that) OR be able to map a different IP address
(say 127.0.0.2) and port connections to it to different ports on
127.0.0.1 so that I can proxy them.
Or course the server side of this is trivial.
If necessary, I'm going to explore writing or having written a Winsock
wedge that functions much like the SSH wedge to do the remapping.
The immediate goal (there are many uses for this obviously) is to
allow publishing to web space as writing to a file system that happens
to map to the web server space but looks to any tool like a file
The tool in question supports FTP (too much of a headache and too
risky) but not HTTP writes...
Stephen D. Williams 25Feb1965 VW,OH (FBI ID) sdw at lig.net http://www.lig.net/sdw
Consultant, Vienna,VA Mar95- 703-918-1357W 43392 Wayside Cir.,Ashburn, VA 20147
OO/Unix/Comm/Video ICBM/GPS: 39 02 37N, 77 29 16W home, 38 54 04N, 77 15 56W
Pres.:Concinnous Consulting,Inc.;SDW Systems;Local Internet Gateway Co.;10Sep97
More information about the samba