posted by steve | Category: Useful Items That I Forget |
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.
Leave a Reply
Archives
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- July 2011
- June 2011
- February 2011
- September 2010
- December 2009
- November 2009
- September 2008
- August 2008
- May 2008
- April 2008
- March 2008
- February 2008
- January 2008
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- March 2007
- December 2006
- August 2006
- July 2006
- December 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- March 2005
- February 2005
- December 2004
- October 2004
- September 2004
- July 2004
Categories