09/12/08

Permalink 01:03:29 pm, by steve, 228 words, 742 views   English (US)
Categories: Useful Items That I Forget

Tunneling a Windows/Samba Share over SSH with PuTTY

Here are my notes for tunneling a samba share to a local computer between two locations.

A little background:

The server site is running a Debian Linux server with openssh. This server acts as a firewall running iptables. There is another host inside of the server site which is running Samba and serving shares to Windows hosts within that network. I needed to get access to the share so I could continue to work on a book.

The client machine I'm writing on is running Windows XP and I'm using PuTTY to access the remote/server site.

Essentially, getting access to the share involves adding a Microsoft Loopback Adapter to the local Windows XP client machine, giving that a real IP, one that's really in my subnet, and then port forwarding through Putty, with a source port of that IP (172.16.0.30:139 for my case) to the remote host port 139.

The Microsoft Loopback Adapter is added through Control Panel, Add Hardware.

This worked quite well until I rebooted (for other reasons (Windows Update, if you must know)). When I rebooted it seemed that the Microsoft Loopback Adapter got NetBIOS services bound to it. In order to correct this problem, I went into the properties of the Microsoft Loopback Adapter network connection and unchecked the Client for Microsoft Networks, and the File and Printer Sharing checkboxes. Then I could connect again.

Blog Home For Steve Suehring

July 2009
Sun Mon Tue Wed Thu Fri Sat
 << <   > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Search

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 5

powered by b2evolution free blog software