Created
November 26, 2013 03:56
-
-
Save yukirii/7653241 to your computer and use it in GitHub Desktop.
iTunes HomeSharing via VPN
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
ssh -L 36890:127.0.0.1:3689 -N [email protected] -g & | |
sleep 3 | |
trap "kill $!" SIGINT SIGHUP SIGTERM | |
dns-sd -P "iTunes Shared over VPN" _daap._tcp local 36890 localhost.local. 127.0.0.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment