Skip to main content
Contributor III
Sep 16, 2010 7:12 PM UTC

Connect Sonos from office to home via VPN

Has anyone connected their Sonos system from an office location to their home? I'd like to know what I need to check to ensure that things work.

I have a VPN connection between the office and the home. I am able to remote desktop without issue, but I can not seem to get the Sonos system to connect to the home network.

Does the Sonos need to be able to access the server with the music directly? Can it be streamed? etc.

Thanks,
Ed
This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.

17 replies

Avid Contributor I
Sep 17, 2010 7:27 PM UTC
someone smarter than me will jump on here hopefully but I am fairly certain you cannot hop networks with a single sonos family of units. even within a physical location like a home, if you have two routers for some reason both doling out IP addresses, i don't think they can then talk to each other but would be set up as separate households.
Translate
Contributor III
Sep 20, 2010 9:02 PM UTC
That's what I'm seeing. I can't email it not being possible, but it may be an case of wasted effort. In fact, this thread seems to imply something different!

http://forums.sonos.com/showthread.php?t=18062
Translate
Contributor II
Sep 20, 2010 9:15 PM UTC
I'm pretty sure that Sonos will not work across VPN, different subnets, etc.

If I had a 2nd home, I would have a backup file server on the remote LAN with nightly syncs of music/video files across the 'Net. Then a ZoneBridge and some ZP's in that location.

People with a large investment in CDs/digital downloads probably would appreciate the off-site backup of their data. I backup and move my data offsite monthly but it would be great to have automatic offsite backup for my ever-changing data.

The neatest trick I've read on this forum is to add a ZonePlayer in your primary home to your "Sonos group", and then relocate it to your 2nd home. Then your laptop etc will theoretically connect to Sonos in either location.
Translate
Avid Contributor I
Sep 21, 2010 1:16 PM UTC
Then your laptop etc will theoretically connect to Sonos in either location.

Not just theory - true in practice!

OP a bit, but I'd love to find a tech-lite way to be able to remote-access my NASs so as to be able to do remote back-ups, rather than the somewhat "analogue" method of rotating NASs from location to location...

T
Translate
Avee
Avid Contributor I
Sep 21, 2010 1:20 PM UTC
Accessing a NAS will work across a VPN, but Sonos-to-Sonos communication normally not. I did once use OpenVPN and port bridging to VPN into my LAN with control of Sonos, but I don't think there is any router that will do that. You will need a computer on each end for that.
Translate
Avid Contributor I
Sep 21, 2010 10:38 PM UTC
Most likely your VPN is not passing broadcast and multicast traffic which Sonos gear uses.

Really you would need a VPN (like OpenVPN which Avee mentions) that can do bridging on that level. With OpenVPN you'd be using a layer-2 "TAP" style connection. Not sure about other VPN software.

FWIW you can run OpenVPN on routers directly via replacement firmware like DD-WRT (http://www.dd-wrt.com) I run a wide area VPN using that OpenVPN and DD-WRT on some Netgear routers and it works very well.
Translate
Avid Contributor I
Aug 9, 2014 6:11 AM UTC
Just tested this. I have a Linksys LRT214 router that has OpenVPN built in. I can connect to the Sonos unit and view the network matrix, but the Sonos app doesn't see any of the players.
Translate
ratty
Aug 9, 2014 11:45 AM UTC
Just tested this. I have a Linksys LRT214 router that has OpenVPN built in. I can connect to the Sonos unit and view the network matrix, but the Sonos app doesn't see any of the players.
That means the OpenVPN is okay with a unicast connection (as one would expect) but isn't forwarding multicasts/broadcasts. Sonos controllers use SSDP to locate the players.
Translate
Headliner II
Aug 9, 2014 1:36 PM UTC
It might be possible to run Intels upnp relay software on two devices, on on each location, and get it going. Haven't, but that's the user case for the atleast.
Translate
Lyricist III
Jan 10, 2016 11:59 AM UTC
Principally it is easy to get SONOS players running via VPN (I use openVPN embedded in my router).
As we know, the Sonos controller does not allow multicast.

Conclusion: the SONOS controller is not designed for that purpose. Technically it is no problem not to rely on a WLAN connection and address the devices directly via IP.

So we need an alternative: a) another controller app, that was designed with regards to home automation. OK so use "iHome" from Appstore, it´s free and allows to play your music, start and stop rooms or group them and select music from the library via VPN. But: no Spotify. Works great.

b) use scripts written in php, works fine, too, but only is for nerds. If you need more information, let me know (kram@cool.ms).

But you may ask: what is the purpose of playing music if you are not at home ?

Tell ya:
Use case: i have a home automation solution (rwe smarthome) that works with motion detectors and cameras. If someone not authorized enters my home, all SONOS devices are turned on, grouped, and a VERY LOUD Alarm ist played and I´m notified.

USE CASE 2: you have a subnetted enterprise network (several rooms \ stores) and you want to control your SONOS devices centrally.

Works great. SONOS really hast to improve.
Translate