Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Re-enable iTunes sharing outside local subnet' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Re-enable iTunes sharing outside local subnet
Authored by: ecammit on Jan 29, '04 11:00:14AM

Ignore my previous posts, this option works much better.

Ok, here are some new additions that should allow you to continue to share your music on your own computer at your office, and at the same time you shouldn't have to open a port on the firewall of either computer!

Also, I will present two options. You can either allow other people on the subnet of your client (ie the people at work) also share your connection if you want, or you can lock it down so that they cannot (recommended unless you have a really fast upload rate on your server).

For these instructions, I define the Server computer to be the computer that actually contains the music files (usually your home computer). I define the client to be the computer you want to play the remote files on (usually your work computer).

On the server:

  1. Start up iTunes and leave open.
  2. Turn on "Share My Music" in iTunes preferences.
  3. Turn on remote login in the "Sharing" panel on System Preferences
  4. If you are using a router to connect to the internet, be sure to turn on port forwarding for your router. Forward incomming tcp packets on port on port 22 to port 22 on your server computer.

On the client:

NOTE: You only have to do this on one computer within the subnet you want to share your music if you choose to do so.

  1. Get and install "Rendezvous Beacon"
  2. Pick a port to use. Make sure you aren't using the port for anything. Also make sure that it isn't a priviliged port. Also don't choose 3689, or you will have to uncheck "Share my music" in the preferences on the client computer. I recommend port 4689.
  3. Set up like below, but for the hostname and ip address use the hostname and address of your client computer if you want to share, or use localhost and 127.0.0.1 if you do not. Also use the port you picked in step 2:
    • Beacon Enabled: (checked)
    • Service Name: (descriptive name)
    • Service Type: _daap._tcp.
    • Port Number: (the port you chose, 4689 perhaps?)
    • Text Record: (empty)
    • Enable Host Proxy: (checked)
    • Host Name: (rendezvous name of your client computer or localhost)
    • IP Address: (ip address of client computer or 127.0.0.1)
  4. If you want to share, and you have your firewall active, open the port you chose in step 2
  5. Open a terminal and type:
    sharing:
    ssh -f -g -L 3689:localhost:3689 -l <username on server> -N < server or router ip>
    not sharing:
    ssh -f -L 3689:localhost:3689 -l <username on server> -N < server or router ip>

    where:
    <username on server>
    is your username on the server
    and:
     < server or router ip>
    is the address of your server or router
  6. Open iTunes
  7. turn ON "Look for Shared Music" in the preferences
  8. ONLY if you chose port 3689 in step 2 will you have to turn OFF "Share my music" in the preferences


[ Reply to This | # ]
Re-enable iTunes sharing outside local subnet
Authored by: hangon on Feb 04, '04 07:39:23PM

when u write:
sharing:
ssh -f -g -L 3689:localhost:3689 -l <username on server> -N < server or router ip>


are u sure that it is correct ....
i will expect something like this:

ssh -f -g -L 4689:localhost:3689 -l <username on server> -N < server or router ip>

or like this:

ssh -f -g -L 3689:localhost:4689 -l <username on server> -N < server or router ip>


am i wrong?



[ Reply to This | # ]
Re-enable iTunes sharing outside local subnet
Authored by: ecammit on Feb 04, '04 11:21:04PM
I appoligize, it should be:
ssh -f -g -L 4689:localhost:3689 -l  -N 


[ Reply to This | # ]
Re-enable iTunes sharing outside local subnet
Authored by: cembry on Feb 27, '04 04:23:23PM

I tried this and it seemed to work great. I actually have access to my home library. But every song I try to play will play for about 10-20 seconds and then just stop and move to the next song. Any idea why?

I have MacOS 10.2.6 at home (server) and Windows2000 at work (client).



[ Reply to This | # ]
Re-enable iTunes sharing outside local subnet
Authored by: bluehz on Feb 29, '04 12:14:40AM
I have successfully shared my iTunes Library outside my LAN (across the internet) to a user running Windows NT with a combination of Rendezvous Proxy and mt-daapd. My goal was to setup a server that would allow interaction with the library without having to have iTunes open. mt-daapd is a very nice Rendezvous iTunes server you run on the machine where your audio files are that you wish to share. Rendezvous Proxy is a cross-platform java app that runs on the client (remote person wishing to access your itunes library).

I am currently working on some documentation and a Mac installer for mt-daapd for the developer so hopefully they will be available soon. Until then you will need to compile it yourself. You could in fact do without the mt-daapd server as long as you leave your itunes open, but it has been my experience that iTunes is unrealiable as the server end of it. The nice thing about mt-daapd is that it supports playlists and smart playlists, plus it can be built on many unix variants (Linux, etc).

[ Reply to This | # ]