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


Click here to return to the 'One way to play iTunes music over the internet' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
One way to play iTunes music over the internet
Authored by: cobbe on Jan 12, '08 08:07:39PM

I'm trying to use OpenVPN/Tunnelblick to get this working, but I'm still missing something. I've successfully installed and configured OpenVPN and Tunnelblick, and I'm able to ping and even SSH across the VPN connection, so I know that's working. But the VPN client can't see the iTunes library on the VPN server.

I've enabled iTunes sharing on the server and asked the client to look for shared libraries, but that still doesn't help. I know that sharing is working over physical (i.e., non-VPN) networks, because another machine on the server's physical subnet can see the server's library, and the client can see other shared libraries on its (physical) subnet.

You mentioned using OpenVPN/Tunnelblick to "teleport" the client machine to the server's subnet. Does that imply another configuration step I have to perform?



[ Reply to This | # ]
One way to play iTunes music over the internet
Authored by: nofutureuk on Jan 14, '08 06:18:22AM
The most important thing to note is to use a bridged tunnel, e.g. use a "tap" device. This makes sure that the ethernet segment is essentially enlarged by the connected tunnel endpoints. It also enables DHCP for the client if needed.

The other important thing to note is that the nodes must all be in a private LAN address space , e.g.
10.0.0.0 - 10.255.255.255 (10/8 prefix)
172.16.0.0 - 172.31.255.255 (172.16/12 prefix)
192.168.0.0 - 192.168.255.255 (192.168/16 prefix)

See RFC 1918: http://www.faqs.org/rfcs/rfc1918.html

Of course, the usual firewall settings apply as well...

[ Reply to This | # ]
One way to play iTunes music over the internet
Authored by: cobbe on Jan 14, '08 10:20:50AM

Thanks for your reply!

My problem was the TAP/TUN setting. I'd been using TUN, which is openvpn's default, and switching it to TAP on both sides worked fine. I can now see the server's iTunes library on the client machine.

Now all that remains is to see if the sound quality is workable across the VPN, but that'll have to wait until I'm actually in the office, where the client machine is located. (I'm working from home today due to snow and playing with the client-side VPN config over a VNC connection.)

Thanks again!



[ Reply to This | # ]
One way to play iTunes music over the internet
Authored by: cobbe on Jan 14, '08 10:23:45AM

I meant to include this in my other reply. For the benefit of others reading this thread, the VPN's IP addresses have to be in the private ranges; the actual physical IP addresses of the machines in question don't appear to matter.



[ Reply to This | # ]