Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Port Forwarding + Tunnelling 2 Windows Shared Folder

  • 18-03-2009 4:37pm
    #1
    Closed Accounts Posts: 140 ✭✭


    Hi All,

    I use PuTTy's Tunnel/Port Forwarding to login into my machine at home behind the Linksys router (configured with DD-WRT). I have a Mac (10.5.6), Linux(Ubuntu 8.10) and Windows (Windows Server 2003 Standard Edition) box behind the router at home.

    1) I have a Laptop running Windows Vista Ultimate, I use PuTTy to connect to my machines at home by logging into Linux box using PuTTy and then use the PuTty tunneling to VNC and other apps to look into other machines

    I have followed all the tutorials with respect to accessing the Windows Shared Folder on the Windows Box using PuTTy + Tunneling
    1) I have configured the loopback adapter
    2) But when I try to access the share (with PuTTy session openend) e.g.: \\10.0.0.1 , it always points to local share and not able to access the share on the Windows Machine behind the router. This will always open the local share on the laptop ( windows vista ultimate/ tried it with Windows 7 too).

    Any hints or comments about how to architect this access would be helpful.

    Thank you


Comments

  • Registered Users, Registered Users 2 Posts: 315 ✭✭john__long


    I've just tried the same thing.

    I'm able to mount the remote Windows share on my Mac using either a "mount_smbfs" or "smbclient" command through the ssh tunnel.

    Sadly wasn't able to access remote share on a windows machine. Had same problem as yourself.

    My advice, however limited and biased is, use the Mac :-D


  • Registered Users, Registered Users 2 Posts: 61 ✭✭GavinJCD


    Ok first of all what local port are you running the connection on, windows filesharing connects on ports 137 and 445 depending on whats going on. So for it to work at all that has to be the local port.

    Secondly, even then, I'm pretty sure it won't work anyway as windows filesharing works by querying the master browser to find the destination PC, so there are actually multiple connections involved in connecting to any PC with windows filesharing.

    The best way of accomplishing sharing files in this manner would be using windows remote desktiop, through the tunnel, and setting it up so it shares the local hard drives on the remote PC, so that way you can copy files between the two systems, or any other system on the remote end.


  • Closed Accounts Posts: 140 ✭✭redhat_newbie


    Thank you all for the thinking and answering here.
    Would there be any other solution, where I can load the shared folder/drive from a Linux machine and i can tunnel it.

    Same as above, but it would be a shared mount on the linux.

    Would there be the alternate solutions to this ?

    Thank you,


  • Registered Users, Registered Users 2 Posts: 315 ✭✭john__long


    Sorry man!

    I'm outta good ideas! As I said, my Windows version of this didn't work at all. Had the same problem. Only picked up the local share.

    Unless a 3rd party app exists or there's some DOS command that could be used to mount it. Sadly I'm a big Mac head so I can't help much with Windows problems. Gimmeh Unix commands and I'm happy!

    Sorry again!


  • Registered Users, Registered Users 2 Posts: 30,472 ✭✭✭✭Ghost Train


    I know its not the same but since your working with ssh etc. you could install a version ssh on the windows machine. Then use winscp or a sftp client to transfer files

    copssh or sshwindows(easier but maybe less secure)

    you could set up a vpn with openvpn or something no reason file sharing wouldn't work over that, but its probably trickyer

    haven't tried windows shares over ssh (yet)


  • Advertisement
Advertisement