# Plex stuck as "Indirect"

**URL:** https://forums.plex.tv/t/plex-stuck-as-indirect/814720
**Category:** Plex Media Server
**Tags:** server-truenas
**Created:** [October 14, 2022, 12:44am UTC](https://forums.plex.tv/t/plex-stuck-as-indirect/814720 "2022-10-14T00:44:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![spiceygas](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@spiceygas](https://forums.plex.tv/u/spiceygas)
#### Post date: [October 14, 2022, 12:44am UTC](https://forums.plex.tv/t/plex-stuck-as-indirect/814720/1 "2022-10-14T00:44:11Z")

</div>

Server Version#: 1.28.0.5998

Plex is running as a FreeBSD Jail in TrueNAS (via the official plugin). It has a local IP address on my network (i.e., not using NAT), and I’ve confirmed that devices can ping it without any troubles.

- When I log into the web interface (app.plex.tv), my Plex server displays as indirect.
- When I play a video through the web interface, it is, indeed, going through the [relay](https://support.plex.tv/articles/216766168-accessing-a-server-through-relay/). Despite the PC I’m playing it on being on the same LAN (wired connection, IP address in the same subnet, and able to ping each other). It’s a Windows box, and I tried disabling the windows Firewall. No improvement.
- When I play a video with NVidia Shield (on the same LAN, wired connection) the video is Direct play without going through the [relay](https://support.plex.tv/articles/216766168-accessing-a-server-through-relay/).

Both devices (browser, NVidia shield) are on the same network, same subnet, same DHCP. Same… well, everything.

Plex is available remotely. I’ve forwarded the appropriate ports through my firewall, and the “Remote Access” tab in the web admin portal has a green checkmark that it’s accessible.

So, why is one doing direct play while the other is forced to go through the [relay](https://support.plex.tv/articles/216766168-accessing-a-server-through-relay/)?

I did change my router recently (moved to pfSense), but I doubt that’s the culprit given that all devices can communicate with each other. And that the behaviour is inconsistent for devices on the same subnet.

---

<div class="post-metadata">

### Author: ![spiceygas](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@spiceygas](https://forums.plex.tv/u/spiceygas)
#### Post date: [October 14, 2022, 1:20am UTC](https://forums.plex.tv/t/plex-stuck-as-indirect/814720/2 "2022-10-14T01:20:58Z")

</div>

As a test, I stood up a new instance of Plex in a jail on the TrueNAS box. It was also marked as “indirect.” So the issue is unlikely to be with how plex is configured.

I also tried disabling the pfBlockNG plugin on my firewall (the thing that blocks traffic). Plex was still marked as “indirect.” So the issue is unlikely to be with how the firewall is filtering/dropping inappropriate traffic.

---

<div class="post-metadata">

### Author: ![spiceygas](https://avatars.discourse-cdn.com/v4/letter/s/5fc32e/32.png) [@spiceygas](https://forums.plex.tv/u/spiceygas)
#### Post date: [October 14, 2022, 1:36am UTC](https://forums.plex.tv/t/plex-stuck-as-indirect/814720/3 "2022-10-14T01:36:13Z")

</div>

Solved!

In pfSense, you have to give a custom directive to the DNS resolver.

1. Services ==\> DNS Resolver ==\> General Settings
2. Go to the “Custom Options” section
3. Enter: `private-domain: "plex.direct"`
4. Save & apply the settings. Wait a few moments for the router to update.
5. Return to plex web portal and reload the page.
6. Success!

Credit to the site where I found [this documentation](https://duanenewman.net/blog/post/indirect-connections-with-plex-and-pfsense/).

Now, why the hell it was only a problem for the web portal and not the Nvidia Shield…? But, oh well.

I hope these instructions help someone else in the future who has the same problem.

---

<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: [January 12, 2023, 1:37am UTC](https://forums.plex.tv/t/plex-stuck-as-indirect/814720/4 "2023-01-12T01:37:07Z")

</div>

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