Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,536

    How to connect player to LMS from outside of my network?


  2. #12
    Senior Member
    Join Date
    Apr 2005
    Location
    Hampshire, UK
    Posts
    268
    Quote Originally Posted by tutejszy View Post
    Finally, I think i found perfect solution. Socat utility is the answer! I am using two instances:
    socat tcp-l:3483,fork,reuseaddr tcp:my-home-server.org:3483
    socat tcp-l:9000,fork,reuseaddr tcp:my-home-server.org:9000

    On the squeezebox device you enter the local address of the machine that is running above. And that's it! Every time socat establishes connection it apparently resolves host name (checked playing with hosts file), so it works smoothly! Hooray!
    If your local machine works on windows you need this: https://github.com/StudioEtrange/socat-windows
    This might get you round the dyndns issue, but you still have to have an open port to your squeezebox server, and there-in lies the problem, because you are open to all the script kiddies in Russia and Asia trying to find open ports to go probe /steal or mess with your music and anything else they can. Maybe you leave your front door open at night too, but I wouldnĺt. Private VPN or local server are the only solutions worth considering.


    Sent from my iPhone using Tapatalk

  3. #13
    Senior Member Jeff07971's Avatar
    Join Date
    Aug 2011
    Location
    London, England
    Posts
    1,636
    Quote Originally Posted by Jeff07971 View Post
    A VPN is the only safe way, it has been discussed many times on this forum.

    Jeff
    Just to repeat !

    Want a webapp ? Get SqueezeLite-X ! https://forums.slimdevices.com/showt...l=1#post903953

  4. #14
    Junior Member
    Join Date
    Sep 2008
    Posts
    11
    Quote Originally Posted by yeomanspc View Post
    This might get you round the dyndns issue, but you still have to have an open port to your squeezebox server, and there-in lies the problem, because you are open to all the script kiddies in Russia and Asia trying to find open ports to go probe /steal or mess with your music and anything else they can. Maybe you leave your front door open at night too, but I wouldnĺt. Private VPN or local server are the only solutions worth considering.


    Sent from my iPhone using Tapatalk
    Yeah you're right Thanks for heads up. Anyway, I'll take the risk. I have 9000 passworded. We'll se what will happen.
    2x Squeezebox Boom, Squeezebox Classic. LMS on Mac Mini G4

  5. #15
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    5,772
    Quote Originally Posted by tutejszy View Post
    Yeah you're right Thanks for heads up. Anyway, I'll take the risk. I have 9000 passworded. We'll se what will happen.
    You really won't take anyones word for it will you? If you open the ports you will be port scanned and someone will hack in. It happens all the time.
    VB2.4 storage QNAP TS419p (NFS)
    Living Room Joggler & Pi4/Khadas -> Onkyo TXNR686 -> Celestion F20s
    Office Joggler & Pi3 -> Denon RCD N8 -> Celestion F10s
    Dining Room SB Boom
    Kitchen UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) Pi Zero+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) & Bathroom SB Touch ->Denon AVR ->Mordaunt Short M10s + Kef ceiling speakers
    Guest Room Joggler > Topping Amp -> Wharfedale Modus Cubes
    Everything controlled by iPeng & Material on iOS

  6. #16
    Senior Member
    Join Date
    Sep 2005
    Posts
    2,854
    Quote Originally Posted by tutejszy View Post
    Finally, I think i found perfect solution.
    Hi,

    1. get a raspberry pi 3 or 3+ (even an RPI2 should work)
    2. install rasbian
    3. go to pivpn
    4. install and run the pivpn setup from the howto
    5. open a single port on your Router eg 1194 and nat it to your rpi with pivpn
    6. remove /close all the previous opened ports
    7. transfer the vpn config to your devices that should connect to your lms
    8. your done


    That i simple safe and you can also run a squeezelite on that system - so not ending with a additional device that only can handle a single job.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •