|
|
Use iTunes 9's Home Sharing over the Internet
I do something similar as well, using iVPN to control the integrated L2TP server in Mac OSX, the integrated L2TP client and Yazsoft's ShareTool. It not as economical as the OpenVPN/Viscosity option. Plus ShareTool currently only shares Bonjour in one direction, meaning only shared library and not Home Sharing. The developer is working on it.
Use iTunes 9's Home Sharing over the Internet
The server setup is pretty easy; hardest part is generating the certificates (and easy-ca takes good care of that for me). If you're interested, check the configuration file that I use: http://boinkor.net/openvpn/vpn.boinkor.net.conf - you just supply the keys and the server to run the thing on.
Come to think of it, a server machine would be the most expensive thing if you don't have one running already; I think you can set up your iTunes library host computer to be the openvpn tunnel endpoint; this way you'd just have to figure out any port forwarding measures for the openvpn protocol port (I use 443/tcp, as that's the one most firewalls will let through unchallenged) if that computer is in a NAT network setup.
Use iTunes 9's Home Sharing over the Internet
Inspired by this hint and antifuchs' comments, I managed to get iTunes Home Sharing working via OpenVPN and tap.
My solution was cobbled together from several google search results.
Here is a rough sketch of how I did it. Mac server
# You can use a different port and/or tcp instead of udp if you like port 1194 proto udp max-clients 10 dev tap # Set 10.0.2.0 to something that does not conflict with the subnet your server is on. # My home mac is on subnet 10.0.1.xxx so I chose 10.0.2.0 server 10.0.2.0 255.255.255.0 ca keys/ca.crt cert keys/server.crt key keys/server.key dh keys/dh1024.pem keepalive 10 120 comp-lzo user nobody group nobody persist-key persist-tunopenvpn2.plist (place in /Library/LaunchDaemons/ and set /opt/local/etc/openvpn below to wherever you placed the OpenVPN config files)
Use iTunes 9's Home Sharing over the Internet
Here are the missing links:
http://tuntaposx.sourceforge.net/ http://www.openvpn.net/index.php/open-source/documentation/howto.html#pki
Use iTunes 9's Home Sharing over the Internet
Trying to follow the instructions here, setting up the keys was a major hassle, so much so I had to ditch that and run with a static key, which seams simpler for a 1-1 VPN solution. It was constantly telling me that I had to define KEY_DIR, no amount of defining the variable in vars or putting in the path would get it any further. No idea what was causing that.
I have a question about getting openvpn to run however. So I am at the stage where I have openvpn installed via macports, a static key, tap/tun installed, and an edited server.conf file. I am attempting to run openvpn2 in this manner:
Options warning: Bad backslash ('') usage in /etc/openvpn/server.conf:1: remember that backslashes are treated as shell-escapes and if you need to pass backslash characters as part of a Windows filename, you should use double backslashes such as "c:openvpnstatic.key" Use --help for more information. Now, there are ZERO slashes in my config file here: port 1194I can't get any further. Does anyone have any ideas? |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.11 seconds |
|