Can I map a network drive with diff tcp port?



Hello all,

To put a long story short, I am trying to tunnel an smb session
through ssh tunnel.

The tunnel works like this

+------+ SSH +--------+ SMB (139) +--------+
|client|<--->|firewall|<--------->|file srv|
+------+ +--------+ +--------+

1. The client listens to tcp port 2255 (it can be any port)
2. When connection is made to that port, the packets are forwarded to
the firewall on secure ssh tunnel (encrypted and authenticated)
3. The firewall makes normal connection to the file server, on behalf
of the client.

The problem is with "net use", I can't change the port it uses to
connect to the server (which is, in my case, the client it self).
Any idea's ?


Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question