Streaming my music library over the internet to work

Media_httpfiendishlyc_iafto

At home I have a Buffalo Linkstation NAS (network attached storage) box which has a backup of my iTunes library on it.  It shares this music library locally using its built in media server (mt.daap) and it always shows up in iTunes on my laptops, and on my O2 Joggler.I wondered if it would be possible to access this resource from anywhere on the internet (as the networked drive is always powered on).  The answer was yes, and this is how you do it over an encrypted ssh tunnel (it was quite simple once I had the right software).  It does rely on you having a device running openssh (you can add this to older versions of the Linkstation, or on a separate machine).  I haven’t exposed my network storage box directly to the internet because anyone could stream my music for free.

  • Make sure you know the ip address of the Buffalo linkstation on the local network (e.g. 192.168.1.3) and that streaming works fine from iTunes on your local network.
  • You need a copy of Putty (I won’t explain how to configure ssh and putty to work together).  There are some pointers on my blog post here.  Set up putty to forward port 3689 to your NAS box as shown below:

Media_httpfiendishlyc_lqxrb

  • Download the daap plugin for Songbird (you will have to edit the install.rdf file to stop it saying that it can’t be run with the current version.  Simply rename the installation package to a zip file, open the file and edit max version to 1.5, then save and rename the plugin package back to an xpi file)
  • Start up Putty and then Songbird.  From the File menu on Songbird add a new daap source at 127.0.0.1
  • After downloading a list of songs available, your library should be ready for streaming over the internet

Please feel free to comment/contact me if you have any questions. Tutorials for setting up SSH to connect to your own network are available all over the internet – please don’t contact me about SSH if you haven’t read a tutorial first!