Windows networking and SOCKS proxies
Jim Watt
jimw at pe-nelson.com
Sun Mar 21 21:57:32 GMT 1999
Sorry...I deleted the thread about SOCKS before I realized
I knew the solution...
I checked up on how SMB connections work on an NT workstation
running the Hummingbird SOCKS proxy. It looks like "net use..."
and its GUI variant don't use the WINSOCK/WINSOCK 2 interface to
make netbios-session (139/tcp) connections. The machine attempted
to make a direct connection to the remote host.
So what to do? Set up an SSH daemon on a machine inside the network
that needs the SOCKS proxy for it to be reached. Get an ssh client that
can tunnel TCP via the ssh connection. Set up a tunnel for
localhost:139 to <samba machine>:139 with the client. Make the
ssh connection. After that, you can do a "net view \\127.0.0.1"
when the ssh connection is up, and see your shares on <samba
machine>.
I'm using Van Dyke's SecureCRT on the client end (http://www.vandyke.com/),
and sshd 1.2.26 from ftp://nic.funet.fi/pub/unix/security/login/ssh/
on the server end. Since SecureCRT _does_ support SOCKS, this works.
Jim
--
Jim Watt jimw at PE-Informatics.COM
PE Corporation Voice (desk): +1 408 577 2228
PE Informatics Division Fax: +1 408 894 9307
3833 North First Street Voice (main): +1 408 577 2200
San Jose CA 95134-1701
More information about the samba
mailing list