PDA

View Full Version : Access Slimserver from work



thrice
2008-01-02, 18:39
Is it possible for me to somehow access my slimserver remotely via the internet from my computer at work? Would I need a DNS server? How would I set it up?

Any help is appreciated.

Thanks,
thrice

davep
2008-01-02, 21:20
It is certainly possible to do this - in fact I am doing it now.

Take a look here http://wiki.slimdevices.com/index.cgi?ConnectingRemotely for some details.

The main things to do to enable this are

a) get a fixed internet IP address for your home network. This is easily done by signing up with a site such as dyndns.org.

b) set up ssh tunneling on your server PC so that you can access from outside without compromising security.

c) forward ports 9000 and 3843 on your router to the server PC internal IP address.

d) run softsqueeze on the remote machine and set up the ssh parameters to match your server details.

e) limit bandwidth of the streaming for the remote instance of softsqueeze so as to avoid dropouts over a poor web connection.

It can sound a bit daunting but it is a great thing to have once you have set it up - all your music available whilst in a hotel room for instance, or at a friends place.


davep

thrice
2008-01-03, 07:48
Thanks...it might not be possible since it's my work computer and I can't install anything or change anything on that machine at all. I was hoping to just access everything via a web browser and have playback that way...is that possible?

I might be able to convince the IT guy to let me do those things, but I doubt it. I got lucky to just get iTunes on my PC, asking for a ssh tunnel setup and installation of squeezesoft might be a little too much.

In case it helps, I'm using a Mac at home with 10.4.X and Squeezecenter 7.whatever.

davep
2008-01-03, 08:33
Well, if you have iTunes on your PC then it is possible to stream music from home, it just can't be done securely. You can establish a dyndns account on the Mac at home so that you have an internet ip address for your home machine. Then set up your router so that ports 3483 and 9000 are forwarded to your Mac's local LAN address.

Then on your work machine, in the iTunes menu, go to Advanced | Open Stream and enter the following:
http://your_dyndns_address:9000/stream.mp3

Then in your web browser enter the address:
http://your_dyndns_address:9000

This should load SqueezeCenter and show your library as at home. In the drop down list of players in the top right side you will see a referecne to the iTunes player (although it won't be called iTunes). Select this and then set it playing some music from your library and it should come out via iTunes.

I'm not at my machine now and in any case use ssh so the details are slightly different so I can't absolutely guarantee that the above will work for you.

Please be aware however that by doing this you will be opening up your machine and particularly your SqueezeCenter to all and sundry. If I got hold of your dyndns address or name then I could simply start your home squeezebox(s) playing anything from your library at any time, at maximum volume.

davep

slimkid
2008-01-03, 09:32
You probably don't even need anything special on your work machine. Once you establish your home IP address, just connect to it through the web browser, start softsqueeze from the left panel (if it won't install as Java, try applet). As mentioned earlier, ports 9000 and 3483 need to be open for softsqueeze.

Security wise, in order to prevent the world from mesing with your music collection, set up the password on the Slim Server.