|
|
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.16 seconds |
|