I was able to find a solution and posted it on my blog
http://stonezdup.com/2012/03/ssh-tunneling-with-squeezebox-and-squeezeplay/
as well as on the slimdevices Bugzilla
http://bugs.slimdevices.com/show_bug.cgi?id=8800. To hit as many
eyeballs as possible, I'm reposting the text from the Bugzilla post
here.


I was able to workaround the UDP requirement and have posted my
findings at
http://stonezdup.com/2012/03/ssh-tunneling-with-squeezebox-and-squeezeplay/

The main trick is using socat (http://www.dest-unreach.org/socat/) to
forward the UDP traffic over a random SSH forwarded port and then
retranslates it back to to UDP on the other side. There's a lot more
information in the blog post, but I wanted to include a straightforward
shell script here just in case something happened to my server.

#!/bin/bash
username=example_user
hostname=example.com

ssh -f -g \
-L 3483:localhost:3483 \
-L 3484:localhost:3484 \
-L 9000:localhost:9000 \
$username@$hostname \
'socat tcp4-listen:3484,reuseaddr,fork UDP:localhost:3483'

socat -T15 udp4-recvfrom:3483,reuseaddr,fork tcp:localhost:3484


-- 
jmbylsma
------------------------------------------------------------------------
jmbylsma's Profile: http://forums.slimdevices.com/member.php?userid=55068
View this thread: http://forums.slimdevices.com/showthread.php?t=81053

_______________________________________________
Touch mailing list
Touch@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/touch

Reply via email to