Streaming your music collection over the net with a music server
james August 23rd, 2010
iTunes is hugely popular and ubiquitous. I am updating my music collection and trying to organize it so apparently this is a good method. Pandora is a great music system too but sometimes I want to hear my music that is not available elsewhere… from anywhere. I have nice Linux servers so a quick search reveals that a firefly music server is a good option.
To stream this music to yourself on your local network is simplicity itself. Turn on iTunes / Media player and select the shared music.
To stream this music to yourself on your remote network at work, on the road, etc is a little harder. For a firefly server this is straightforward:
Link for Firefly Client -> Firefly Client V 0.9b. There are other options like fireflash but most can connect to a firefly / iTunes music server, so choose your client as desired. I think the iPhone and other Apple products can link up seamlessly. You will need to forward your external ip on port 3689 to port 3689 on your home music server box so some understanding of routers and port forwarding is necessary at the host site but not at the client site. Generally you can just point the client to http://ipa.ipb.ipc.ipd:3689.
Moving forward, we have the increasingly complex scenario where you might want to administrate or actually use iTunes on your remote / work computer but reference your home server where are your music files are stored. Perhaps you hear a song on the radio or you buy a new CD and rip it at the office or just want to define new playlists, etc.
Now, we have to do some more work:
1) Open port 22 from your home music server to some port on your router (I recommend not using 22!. I recommend masquerading this port as some other value on your wan while having it point to port 22 on your lan). This step is only necessary on the host system, not the clients.
2) For client stations, you don’t need any port work, just install the SSH Tunnel Client:
Link for SSH Tunnel Client -> SSH Tunnel Client V 4.0.2.73
Once installed, go to tunnel, then add. Fill out the gui as shown below (the ip can be an FQDN):
images notes
There are some more options for auto-connection that some may wish to choose. Once connected, the icon in the software should show a lock indicating an SSH Tunnel has been created.
3) For client stations, install the Rendezvous Proxy:
Link for Rendezvous Proxy -> Rendezvous Proxy V 0.22
Once installed, go to file, then add new host. Fill out the gui as shown below (the ip can be an FQDN):
images notes
4) Fire up iTunes and/or your music manager and you should have access to your home media as if you were there (provided your connection is fast enough).
As a note, this works with iTunes v7, 8 & 9.