|
|
Reach local iTunes library over the net
Instead of
dns-sd -P "name of server" _daap._tcp local 3690 localhost 127.0.0.1
I used dns-sd -R "name of server" _daap._tcp. local 3690 localhost 127.0.0.1
Seems to work great. If I get excited I'll post a launchd script. :)
Reach local iTunes library over the net
This works!
One catch with it though: I needed to allow remote hosts to connect to my ssh port forwards via the -g option(or GatewayPorts yes in ~/ssh/.config for that host)
ssh -gNf -L 3690:localhost:3689 remote-machine-with-itunes
Reach local iTunes library over the net
I have a plist to run my dns-sd registration in the background. I created a ~/Library/LaunchAgents/com.apple.dnssd.plist file which looks like this:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Label</key> <string>com.apple.dnssdproxy</string> <key>OnDemand</key> <false/> <key>ProgramArguments</key> <array> <string>/usr/bin/dns-sd</string> <string>-R</string> <string>Home iTunes</string> <string>_daap._tcp.</string> <string>local</string> <string>3690</string> <string>localhost</string> <string>127.0.0.1</string> </array> </dict> </plist> Load it up with launchctl load ~/Library/LaunchAgents/com.apple.dnssd.plist |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks 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.13 seconds |
|