ralphy wrote:
> The ssh -L feature only forwards TCP ports, so it works fine for
> squeezelite as long as you specify your lms server using -s lmshost as
> UDP is only used in the server discovery code. Squeezeplay expects UDP
> ports to be available (ie. forwarded) as well. Squeezeplay does work
> when using a vpn solution like openvpn.
>
> You may be able to get squeezeplay working with ssh by editing a couple
> of setting files as discussed in 'the thread'
> (http://forums.slimdevices.com/showthread.php?101388-Squeezeplay-won-t-connect-after-clean-install-of-Win-7-Pro/page2).
> I've had mixed success with this method.
I didn't find a solution in the lua settings files (I did try setting
ChooseMusicSource.lua to settings =
{poll={["127.0.0.1"]="127.0.0.1",},}) but I did find socat (via
http://zarb.org/~gc/html/udp-in-ssh-tunneling.html).
I added another -L for new port 34831 to my ssh command:
Code:
--------------------
ssh -L localhost:9000:LMS-local-IP-address:9000 -L
localhost:3483:LMS-local-IP-address:3483 -L
localhost:34831:LMS-local-IP-address:34831 LMS-dns-address
--------------------
On the laptop I run this to send udp for 3483 to tcp port 34831:
Code:
--------------------
socat -T15 udp4-recvfrom:3483,reuseaddr,fork tcp:localhost:34831
--------------------
On the server:
Code:
--------------------
socat tcp4-listen:34831,reuseaddr,fork UDP:localhost:3483
--------------------
Thanks very much for your help. I have still singularly failed to solve
the tolua++ make file issue on my laptop (on thread
http://forums.slimdevices.com/showthread.php?107349-Best-place-to-download-Squeezeplay),
which is very puzzling, but I do now have a working solution.
LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit,
44.1->192kbps. Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
Wireless Xubuntu 17.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=108734
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter