# Plex & SONOS without Remote Access

**URL:** https://forums.plex.tv/t/plex-sonos-without-remote-access/618475
**Category:** Plex Media Server
**Tags:** sonos
**Created:** [July 29, 2020, 3:33pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475 "2020-07-29T15:33:03Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![rdelrossi](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/rdelrossi/32/200474_2.png) [@rdelrossi](https://forums.plex.tv/u/rdelrossi)
#### Post date: [July 29, 2020, 3:33pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/1 "2020-07-29T15:33:04Z")

</div>

Server Version#: 1.19.5.3112

Hi! I have a question about running Plex with SONOS. I’m running into some difficulties and hope I can get some guidance here.

I just bought a NAS (QNAP TS-251D) and loaded my music on to it. I bought a lifetime Plex Pass, too, and have successfully integrated Plex and SONOS so that I can play my collection throughout the house.

To accomplish all this, I followed the Plex instructions to allow Remote Access (“To allow your Plex Media Server to be accessed as needed, you need to enable Remote Access for your server. That’s done under Settings \> Server \> Remote Access in Plex Web App.”).

But remote access for me is a scary proposition. My NAS is for home use. I really have no need to expose it to the outside world and would prefer to avoid the risks of remote access.

The same Plex support article says, “Even if you can’t get Remote Access successfully enabled, you should still be okay. So long as you don’t explicitly _disable_ Remote Access, then your server will still be able to set up a “Relay” connection, even if Remote Access isn’t fully configured.”

I’ve been working through the support article at [https://support.plex.tv/articles/216766168-accessing-a-server-through-relay/](https://support.plex.tv/articles/216766168-accessing-a-server-through-relay/) without much luck. Once I disabled Remote Access in Plex, my SONOS system just can’t see it anymore.

Does anyone have experience with this? I’d appreciate some pointers. Thank you!

– Robert

---

<div class="post-metadata">

### Author: ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)
#### Post date: [July 29, 2020, 3:42pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/2 "2020-07-29T15:42:44Z")

</div>

Due to the way Sonos is working, it needs a way to see your server from the outside.

It was explained to me that the playback on Sonos hardware is actually initiated by some cloud server which is run by Sonos (the company) themselves – outside of your home network. So there is unfortunately no way to get by without remote access.

---

<div class="post-metadata">

### Author: ![Volts](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Volts](https://forums.plex.tv/u/Volts)
#### Post date: [July 29, 2020, 3:59pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/3 "2020-07-29T15:59:29Z")

</div>

One alternative is to avoid the Sonos app. You can use the Plex app to initiate playback. It will discover your speakers and you can cast to them for music playback.

It can’t manage grouping, etc., so you still need to use the Sonos app for that.

* * *

The nice thing about the current implementation is that you can use your Plex music collection on a remote Sonos system, or vice versa.

---

<div class="post-metadata">

### Author: ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)
#### Post date: [July 29, 2020, 4:00pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/4 "2020-07-29T16:00:43Z")

</div>

> [@Volts](#):
>
> One alternative is to avoid the Sonos app.

No. AFAIK this is the very same when you use the Plex app.

---

<div class="post-metadata">

### Author: ![Volts](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Volts](https://forums.plex.tv/u/Volts)
#### Post date: [July 29, 2020, 4:02pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/5 "2020-07-29T16:02:12Z")

</div>

Hahahah OK hold on I have to test that to see it with my own eyes.

Edit: Yup. OK, well, that’s both magical, surprising, a bit annoying actually, more magical than anything, and it explains other things that have confused me. Not that I don’t confuse easily. 🙂

---

<div class="post-metadata">

### Author: ![johnclayton](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/johnclayton/32/267354_2.png) [@johnclayton](https://forums.plex.tv/u/johnclayton)
#### Post date: [July 29, 2020, 4:03pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/6 "2020-07-29T16:03:19Z")

</div>

If you’re concerned about forwarding a port, you can use the relay connection by _enabling_ remote access and just don’t forward a port. It will appear as though your server is not reachable without the port forward, but relay should still be online an usable. The easiest way to tell if relay is working is if you disable wifi on your phone you are still able to connect and play content via the Plex app (not Sonos).

Casting from the Plex apps does still require some level of remote access so that the service is able to bridge the PMS play queue with Sonos’ queue.

---

<div class="post-metadata">

### Author: ![rdelrossi](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/rdelrossi/32/200474_2.png) [@rdelrossi](https://forums.plex.tv/u/rdelrossi)
#### Post date: [July 29, 2020, 4:16pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/7 "2020-07-29T16:16:36Z")

</div>

This sounds appealing, @johnclayton. Thank you for the quick reply.

Is there any step-by-step documentation on this? The whole port forwarding thing is a bit over my head.

– Robert

---

<div class="post-metadata">

### Author: ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)
#### Post date: [July 29, 2020, 4:19pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/8 "2020-07-29T16:19:25Z")

</div>

The point is to _not_ do the portforwarding. So there is no need for a guide. 😉

Do this:  
Settings - Server - Remote Access  
tick the checkbox “Manually specify public port” and put 12345 into the field after it.  
That’s it.

---

<div class="post-metadata">

### Author: ![rdelrossi](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/rdelrossi/32/200474_2.png) [@rdelrossi](https://forums.plex.tv/u/rdelrossi)
#### Post date: [July 29, 2020, 4:27pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/9 "2020-07-29T16:27:47Z")

</div>

OK, thanks. I’ve done that now. Enabled Remote Access, ticked “Manually Specify Public Port,” put in a port address and verified that I can reach it through the Plex app on my phone (with wifi turned off). SONOS is working in this configuration.

So—and I’m asking this, not stating it—what I’ve done here is made my Plex library remotely accessible but I’ve obfuscated the standard Plex port so to minimize the possibility of illicit access?

---

<div class="post-metadata">

### Author: ![OttoKerner](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/ottokerner/32/10079_2.png) [@OttoKerner](https://forums.plex.tv/u/OttoKerner)
#### Post date: [July 29, 2020, 4:30pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/10 "2020-07-29T16:30:37Z")

</div>

The way a Relay connection is working is that it requires both Authentication and encryption.  
So the likelyhood for it getting misused is relatively low.

And as a side effect, you get access to your music from anywhere with internet connectivity.  
Try putting plexamp on your phone. 😉

---

<div class="post-metadata">

### Author: ![Volts](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Volts](https://forums.plex.tv/u/Volts)
#### Post date: [July 29, 2020, 4:58pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/11 "2020-07-29T16:58:31Z")

</div>

If the goal is to not do port forwarding, I think the most important part is the router.

When I manually specify a port in Plex, I still see it making a UPnP request to the router, establishing a port forward, and becoming “Fully accessible”. Manual port configuration in Plex doesn’t disable Plex’s use of UPnP.

Jul 29, 2020 10:40:32.114 [0x80d107300] DEBUG - NAT: UPnP, public address is X.X.X.X

If you are concerned about exposing devices on your network to the Internet, you may also wish to verify that you have UPnP disabled on your router.

I believe what @johnclayton described is that you don’t need any ports forwarded (obfuscated or not), because Plex will fall back to using the Relay, and Sonos will work over the Relay. The Relay is an outbound connection initiated by your Plex Server to the Plex Cloud, instead of being “open” to the Internet.

To accomplish “don’t forward a port”, the important part is UPnP being disabled on the router.

I second the vote for Plexamp, it’s nifty.

---

<div class="post-metadata">

### Author: ![rdelrossi](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/rdelrossi/32/200474_2.png) [@rdelrossi](https://forums.plex.tv/u/rdelrossi)
#### Post date: [July 29, 2020, 4:58pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/12 "2020-07-29T16:58:50Z")

</div>

That’s pretty dang sweet 🤩

Thanks @OttoKerner, @johnclayton for the amazing support. I think I’m really going to enjoy getting to know Plex.

– Robert

---

<div class="post-metadata">

### Author: ![rdelrossi](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/rdelrossi/32/200474_2.png) [@rdelrossi](https://forums.plex.tv/u/rdelrossi)
#### Post date: [July 29, 2020, 5:05pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/13 "2020-07-29T17:05:56Z")

</div>

Clearly have a lot to learn, @Volts. I’ve been a software guy all my career and left the networking to someone else. My knowledge is just a bit better than a layman (I at least know UPnP is Universal Plug 'n Play 😀).

Going to have to dig more into router configuration.

As I say, I don’t have a whole lot of interest in exposing my NAS on the Internet, so I need to get myself confident that I understand what I’m doing.

Really appreciate your comments. Thank you!

---

<div class="post-metadata">

### Author: ![johnclayton](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/johnclayton/32/267354_2.png) [@johnclayton](https://forums.plex.tv/u/johnclayton)
#### Post date: [July 29, 2020, 5:07pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/14 "2020-07-29T17:07:18Z")

</div>

Good catch on disabling UPnP, if it wasn’t disabled before you may want to poke around in your router and make sure a port did not get forwarded.

Welcome aboard, and I’m also going to plug Plexamp 😉

---

<div class="post-metadata">

### Author: ![Volts](https://avatars.discourse-cdn.com/v4/letter/v/a5b964/32.png) [@Volts](https://forums.plex.tv/u/Volts)
#### Post date: [July 29, 2020, 5:17pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/15 "2020-07-29T17:17:34Z")

</div>

Hah! Your comment just suddenly helped me understand something.

A lot of network guys really hate UPnP. It has pros and cons and a time and a place. It’s got a storied past. But some people just fundamentally and absolutely hate the entire concept of UPnP.

I’ve never understood why.

It’s because UPnP means “yucky software” can interact with the “pristine network”. With _their_ pristine network. And nobody who “doesn’t understand” should be messing with important things like networks. 🙂 🙃 🙄

Meanwhile I think it’s amazing on home networks in 99% of cases. Luckily the 1% can change it when they want to.

---

<div class="post-metadata">

### Author: ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)
#### Post date: [October 27, 2020, 5:17pm UTC](https://forums.plex.tv/t/plex-sonos-without-remote-access/618475/16 "2020-10-27T17:17:42Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
