I'm missing a piece of this puzzle so I hope someone can help me.
The SETUP: My computer with Windows O/S is behind a NAT/Firewall at work and I can not open any ports to forward. At home I have a Ubuntu Server. I'm able to use a ssh client (putty) to connect from the Windows computer at work to my Ubuntu Server at home. Using port forward in putty, I made a network share on my Windows computer that is connected via smb to a network share on my Ubuntu Server at home.
The Problem: I would like to REVERSE the smb share described above by using a Reverse SSH tunnel connection.
WHAT I MEAN IS: Use Reverse SSH with SMB ports (445) to connect & mount to Windows share (behind NAT) FROM Ubuntu Server.
How would I setup my Reverse SSH tunnel in putty? (again I understand Reverse SSH). Right now under the tunneling option in Putty I have port 445 as my source, localhost:445 as my destination and REMOTE & IPV4 options selected. Is this correct?
Once I get the Reverse SSH tunnel setup correct for SMB, how do I connect and mount a Windows share that is behind the NAT FROM my Ubuntu Server? Same way if Ubuntu Server was to mount share with Windows computer on same Network? sudo mount -t cifs //IPADRESS/WinShare /mnt/UbuntuShare -o username="Username",domain=
If you have any questions please let me know and I will get back to you ASAP!