<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Leopard Broke SMB Tunnel Mounting via Finder</title>
	<atom:link href="http://blog.newsyland.com/mac-os-x/leopard-broke-smb-tunneling/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.newsyland.com/mac-os-x/leopard-broke-smb-tunneling</link>
	<description>tail -f /dev/brain &#62;&#62; blog.newsyland.com</description>
	<lastBuildDate>Tue, 02 Feb 2010 16:08:37 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Konstantin Läufer</title>
		<link>http://blog.newsyland.com/mac-os-x/leopard-broke-smb-tunneling/comment-page-1#comment-4</link>
		<dc:creator>Konstantin Läufer</dc:creator>
		<pubDate>Sun, 29 Nov 2009 13:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.newsyland.com/mac-os-x/leopard-broke-smb-tunnelling#comment-4</guid>
		<description>Great post and comment! Thanks a lot. I have finally restored transparent remote access to my files.

One more addition: you can avoid having to run ssh as root by using a local port above 139. For example, I use 1139. The corresponding server address to enter after Command-K in the finder is

cifs://user@127.0.0.2:1139/share</description>
		<content:encoded><![CDATA[<p>Great post and comment! Thanks a lot. I have finally restored transparent remote access to my files.</p>
<p>One more addition: you can avoid having to run ssh as root by using a local port above 139. For example, I use 1139. The corresponding server address to enter after Command-K in the finder is</p>
<p>cifs://user@127.0.0.2:1139/share</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rémi Prévost</title>
		<link>http://blog.newsyland.com/mac-os-x/leopard-broke-smb-tunneling/comment-page-1#comment-3</link>
		<dc:creator>Rémi Prévost</dc:creator>
		<pubDate>Fri, 13 Nov 2009 16:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.newsyland.com/mac-os-x/leopard-broke-smb-tunnelling#comment-3</guid>
		<description>Thank you so much for this post! It&#039;s a shame that Apple removed this feature from Leopard (but still allows it via command line).

Now I can mount SMB shares from work at home :D</description>
		<content:encoded><![CDATA[<p>Thank you so much for this post! It&#8217;s a shame that Apple removed this feature from Leopard (but still allows it via command line).</p>
<p>Now I can mount SMB shares from work at home <img src='http://blog.newsyland.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Solomon Ford</title>
		<link>http://blog.newsyland.com/mac-os-x/leopard-broke-smb-tunneling/comment-page-1#comment-2</link>
		<dc:creator>Solomon Ford</dc:creator>
		<pubDate>Fri, 28 Dec 2007 21:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://blog.newsyland.com/mac-os-x/leopard-broke-smb-tunnelling#comment-2</guid>
		<description>You can also set up an alias for loopback interface from the terminal as follows:

sudo ifconfig lo0 alias 127.0.0.2 up

&quot;127.0.0.2&quot; can be any 127.0.0.x address you like, aside from .1, and it will work just like 127.0.0.1 does.  Once you do this--and properly configure your ssh tunnel--you can Command-K from the Finder, and Leopard will happily connect using this new address instead.  The nice thing is this alias will stick around forever, or until you run the same command except with a &quot;-alias&quot;.  (Using this trick, there&#039;s no need to mount_smb by hand through the Terminal; pre-Leopard behavior is essentially restored.)

Just like with pre-10.5, keep in mind your ssh will need to forward both TCP 139 and 445, and you&#039;ll have to run the ssh command as root in order to allow forwarding those privileged port numbers (which is anything below 1024).  I just created my ~/.ssh/config file to reflect the funky port forwarding for that host, and then call it using the following command:

sudo ssh remote_login_name@remote_server_name -F /Users/my_login/.ssh/config

Here is the relevant excerpt from my ~/.ssh/config file...

Host remote_server_name
        User remote_login_name
	LocalForward 127.0.0.2:139 remote_ip_address:139
	LocalForward 127.0.0.2:445 remote_ip_address:445

Finally, a caveat about connecting to a Windows machine using this method...

Since Windows machines do not respond to SMB requests on 127.0.0.1, you will need to point your ssh config either to the IP address of the &#039;Microsoft Loopback Adapter&#039; you manually installed (refer to other sources of info on the web about how to do this; it&#039;s pretty easy), or you will have to point your ssh config to the remote server&#039;s *non-loopback* IP address.  If you are using the second method, be ABSOLUTELY sure you limit access to &#039;File and Printer Sharing&#039; using the Windows Firewall or a hardware firewall.

Good luck!</description>
		<content:encoded><![CDATA[<p>You can also set up an alias for loopback interface from the terminal as follows:</p>
<p>sudo ifconfig lo0 alias 127.0.0.2 up</p>
<p>&#8220;127.0.0.2&#8243; can be any 127.0.0.x address you like, aside from .1, and it will work just like 127.0.0.1 does.  Once you do this&#8211;and properly configure your ssh tunnel&#8211;you can Command-K from the Finder, and Leopard will happily connect using this new address instead.  The nice thing is this alias will stick around forever, or until you run the same command except with a &#8220;-alias&#8221;.  (Using this trick, there&#8217;s no need to mount_smb by hand through the Terminal; pre-Leopard behavior is essentially restored.)</p>
<p>Just like with pre-10.5, keep in mind your ssh will need to forward both TCP 139 and 445, and you&#8217;ll have to run the ssh command as root in order to allow forwarding those privileged port numbers (which is anything below 1024).  I just created my ~/.ssh/config file to reflect the funky port forwarding for that host, and then call it using the following command:</p>
<p>sudo ssh remote_login_name@remote_server_name -F /Users/my_login/.ssh/config</p>
<p>Here is the relevant excerpt from my ~/.ssh/config file&#8230;</p>
<p>Host remote_server_name<br />
        User remote_login_name<br />
	LocalForward 127.0.0.2:139 remote_ip_address:139<br />
	LocalForward 127.0.0.2:445 remote_ip_address:445</p>
<p>Finally, a caveat about connecting to a Windows machine using this method&#8230;</p>
<p>Since Windows machines do not respond to SMB requests on 127.0.0.1, you will need to point your ssh config either to the IP address of the &#8216;Microsoft Loopback Adapter&#8217; you manually installed (refer to other sources of info on the web about how to do this; it&#8217;s pretty easy), or you will have to point your ssh config to the remote server&#8217;s *non-loopback* IP address.  If you are using the second method, be ABSOLUTELY sure you limit access to &#8216;File and Printer Sharing&#8217; using the Windows Firewall or a hardware firewall.</p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
