# Plex Port Forwarding

**URL:** https://forums.plex.tv/t/plex-port-forwarding/752017
**Category:** General Discussions
**Created:** [October 20, 2021, 8:47pm UTC](https://forums.plex.tv/t/plex-port-forwarding/752017 "2021-10-20T20:47:08Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![andrewdubois26](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@andrewdubois26](https://forums.plex.tv/u/andrewdubois26)
#### Post date: [October 20, 2021, 8:47pm UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/1 "2021-10-20T20:47:08Z")

</div>

Hey guys I am having issues getting my Plex server to setup. Bear with me I’m new. I have the ports set on my Router (Google Wifi) but Plex says it’s offline on the phone but still can be clicked on. It’s just nothing will load. Help

 ![Screenshot_20211020-144557](https://global.discourse-cdn.com/plex/original/4X/9/7/1/971b69af63c3f2b3d9e86f6b9825c45fc9d16155.jpeg)

---

<div class="post-metadata">

### Author: ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)
#### Post date: [October 20, 2021, 9:01pm UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/2 "2021-10-20T21:01:05Z")

</div>

while you can pick a public/external tcp port for your port forward, the internal port must be 32400. From the looks you got your forward backwards 😉

---

<div class="post-metadata">

### Author: ![Divideby0](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@Divideby0](https://forums.plex.tv/u/Divideby0)
#### Post date: [October 20, 2021, 9:03pm UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/3 "2021-10-20T21:03:38Z")

</div>

Right, the port forwarding numbers are backwards. you are forwarding from port 32400 on the router to port 25000 on the Synology. The server is listening to port 32400 and that never changes.

---

<div class="post-metadata">

### Author: ![andrewdubois26](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@andrewdubois26](https://forums.plex.tv/u/andrewdubois26)
#### Post date: [October 20, 2021, 10:19pm UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/4 "2021-10-20T22:19:36Z")

</div>

Oh bloody hell hahahah! Thanks guys. I picked port 322001. And used 32200 as a internal and the one next door as external. It warns me that a direct connection is not established. Is there anyway to get a direct connection when I’m away from the house. For some.reason they put the internal on the left and external on the right. I’m a rookie at this but I “think” it’s fixed now!  
[Screenshot\_20211020-161700|690x1571](https://forums.plex.tv/uploads/short-url/43517N9K9JCd8DMoIx3hCrM00Ag.png)

---

<div class="post-metadata">

### Author: ![andrewdubois26](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@andrewdubois26](https://forums.plex.tv/u/andrewdubois26)
#### Post date: [October 20, 2021, 10:22pm UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/5 "2021-10-20T22:22:15Z")

</div>

Thanks man for the help lol. #Rookiemistake. Can you double check it’s okay now. I picked port 324001 to use and I think it’s okay now.

Any advice on helping a rookie establish a direct connection when I’m away. Sure I can access it remotely but I’m wondering if a direct connection when away from the house is possible  
[Screenshot\_20211020-161700|690x1571](https://forums.plex.tv/uploads/short-url/43517N9K9JCd8DMoIx3hCrM00Ag.png)

 ![Screenshot_20211020-161852](https://global.discourse-cdn.com/plex/original/4X/7/4/6/746c99aa6c2fc01f91388a026aded4d2bb580801.png)

---

<div class="post-metadata">

### Author: ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)
#### Post date: [October 20, 2021, 10:33pm UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/6 "2021-10-20T22:33:51Z")

</div>

Still wrong…

| Parameter | Value |
| --- | --- |
| Protocol | `TCP` |
| External Port | _a value of your choice; e.g. 32401 or 23456 or…_ |
| Internal IP | `192.168.86.67` |
| Internal Port | `32400` ← _there’s absolutely no flexibility about this one… the internal port must be `32400`_ |

You’re still using a different port as the internal port

---

<div class="post-metadata">

### Author: ![andrewdubois26](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@andrewdubois26](https://forums.plex.tv/u/andrewdubois26)
#### Post date: [October 20, 2021, 11:06pm UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/7 "2021-10-20T23:06:36Z")

</div>

Thanks Tom! I don’t see where the heck I went wrong before lol

 ![Screenshot_20211020-170611](https://global.discourse-cdn.com/plex/original/4X/3/3/7/337b1242cf604d9d9f08cab24f33a8dfb2c5cd74.png)

---

<div class="post-metadata">

### Author: ![Divideby0](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@Divideby0](https://forums.plex.tv/u/Divideby0)
#### Post date: [October 20, 2021, 11:15pm UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/8 "2021-10-20T23:15:33Z")

</div>

Might not work. There are two ways to forward a port from outside the house to your NAS. By default, Plex uses UPNP to automatically open a random port on your router for you to itself. You shouldn’t have to do anything more for that to work. But if your router (Google Wifi) doesn’t allow UPNP, then Plex will show as inaccessible.

Method two is to manually set the port that you want open on the router. Look at the following picture of my setup:

 ![Port forward](https://global.discourse-cdn.com/plex/original/4X/d/e/8/de8205984a686d8d38740de239a7668400db31fb.jpeg)  
I decided I didn’t like my router allowing UPNP. So I told Plex I would handle the forwarding on my own. I went to my router, and I set a forwarding rule for my router. On the outside, if you access my IP at port 20202, it forwards ALL that traffic to my server, which uses 32400 internally. You **MUST** check the box there in this case, and TELL PLEX which port you are going to use.

So I see you set up a port forward of 32401 EXTERNALLY to 32400 INTERNALLY (direction doesn’t much matter. Just the internal and external label). If you want to use that port, it’s fine, but you must go to the location in my picture, check the box, and enter **32401** in that box. You can even just forward the port as-is, 32400 externally to 32400 internally.

I can get technical on WHY you have to tell Plex what your external port number is, if you want some background info.

---

<div class="post-metadata">

### Author: ![BigWheel](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bigwheel/32/78783_2.png) [@BigWheel](https://forums.plex.tv/u/BigWheel)
#### Post date: [October 20, 2021, 11:28pm UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/9 "2021-10-20T23:28:07Z")

</div>

You only need TCP and just for folks who don’t have a Google/Nest Wifi. They do oddly list the numbers in a backwards way. That chevron/arrow should point left to be intuitive but it confusingly points right. the left port is the internal and the one on the right is the external. So to me the port forward rule is fine

---

<div class="post-metadata">

### Author: ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)
#### Post date: [October 20, 2021, 11:28pm UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/10 "2021-10-20T23:28:36Z")

</div>

Fair point.

@andrewdubois26 – that direction wasn’t previously clear to me; the arrow implied the direction of the forward to me hence internal → external still seems weird.

**Edit:**  
as per dividebyzero’s post… make sure you configure Plex to use `32401` as the public/external port under `Settings` \> `[Server Name]` \> `Remote Access`

---

<div class="post-metadata">

### Author: ![andrewdubois26](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@andrewdubois26](https://forums.plex.tv/u/andrewdubois26)
#### Post date: [October 20, 2021, 11:36pm UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/11 "2021-10-20T23:36:26Z")

</div>

Thanks all!! Now the hard part… Deciding what the heck to watch!

---

<div class="post-metadata">

### Author: ![Divideby0](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@Divideby0](https://forums.plex.tv/u/Divideby0)
#### Post date: [October 20, 2021, 11:37pm UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/12 "2021-10-20T23:37:26Z")

</div>

Hahaha, that’s always my problem. And I keep adding to it. There’s more content now I could probably watch just my server for 6 months straight. 24 hours a day.

---

<div class="post-metadata">

### Author: ![andrewdubois26](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@andrewdubois26](https://forums.plex.tv/u/andrewdubois26)
#### Post date: [October 21, 2021, 12:07am UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/13 "2021-10-21T00:07:33Z")

</div>

Well hey it’s still adding stuff 5 hours later. Any idea how I can establish a direct connection. It said my quality would be lower since I was out of the house. How the heck do I establish a direct connection when I’m away. Is that even possible

---

<div class="post-metadata">

### Author: ![BigWheel](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bigwheel/32/78783_2.png) [@BigWheel](https://forums.plex.tv/u/BigWheel)
#### Post date: [October 21, 2021, 12:12am UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/14 "2021-10-21T00:12:55Z")

</div>

If your remote access is working well it should already be a direct connection. If not then something is still wrong with remote access and it is using relay.

I’m not sure which external port you ended up using in port forward rule but if you go to [canyouseeme.org](http://canyouseeme.org) and enter in that external port does it it show as successful? (do this while at home)

What ISP do you have?

---

<div class="post-metadata">

### Author: ![Divideby0](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@Divideby0](https://forums.plex.tv/u/Divideby0)
#### Post date: [October 21, 2021, 12:16am UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/15 "2021-10-21T00:16:45Z")

</div>

Assuming you did the forwarding correct, then you do have a direct connection. If you are told you are using the Plex relay service, it is a kind of last resort method used to get your outside-the-house player and your in-house server to talk to eachother. This is - again - a LAST resort. Plex will try a direct connection using various methods. If you mess it up anywhere along the way, then the relay kicks in.

We need to see your port forwarding options, and we need to see what your server network settings are set to.

---

<div class="post-metadata">

### Author: ![andrewdubois26](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@andrewdubois26](https://forums.plex.tv/u/andrewdubois26)
#### Post date: [October 21, 2021, 12:26am UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/16 "2021-10-21T00:26:25Z")

</div>

We got SaskTel over here guys. Network settings are left to the default ones on the server. And port forwarding is the same as it was. I’m not sure where the heck it goes wrong. Even tried with the modem and router combo my ISP gave me. I’m stumped

---

<div class="post-metadata">

### Author: ![BigWheel](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bigwheel/32/78783_2.png) [@BigWheel](https://forums.plex.tv/u/BigWheel)
#### Post date: [October 21, 2021, 12:37am UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/17 "2021-10-21T00:37:08Z")

</div>

> [@andrewdubois26](#):
>
> Even tried with the modem and router combo my ISP gave me

so you have a modem/router combo and the Google/Nest wifi both as part of the network? if so you might have a doublenat. but your first screenshot show what seems to be the correct public IP so maybe not the issue.

have you rebooted your Synology at all since trying things?

---

<div class="post-metadata">

### Author: ![andrewdubois26](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@andrewdubois26](https://forums.plex.tv/u/andrewdubois26)
#### Post date: [October 21, 2021, 12:53am UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/18 "2021-10-21T00:53:28Z")

</div>

Got it back up and running but still doing the last resort stuff. Ah might just use it. But least I got my port open and stuff flowing when I’m out of the house

---

<div class="post-metadata">

### Author: ![andrewdubois26](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@andrewdubois26](https://forums.plex.tv/u/andrewdubois26)
#### Post date: [October 21, 2021, 2:39am UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/19 "2021-10-21T02:39:37Z")

</div>

Thanks all for the help! Now… I think it’s movie time!

 ![Screenshot_20211020-203815](https://global.discourse-cdn.com/plex/original/4X/b/4/9/b49eed3f1c218c9de6e69ee41e202b252df02048.jpeg)

---

<div class="post-metadata">

### Author: ![Divideby0](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@Divideby0](https://forums.plex.tv/u/Divideby0)
#### Post date: [October 21, 2021, 3:08am UTC](https://forums.plex.tv/t/plex-port-forwarding/752017/20 "2021-10-21T03:08:47Z")

</div>

The “Last resort” relay service is restricted to a pretty low speed of 2 Mbps. That’s usually enough for 480p videos. It’d be greatly preferable to get the forwarding done correctly.

I’d just like to know what your server’s **Remote Access** page has for the port settings. Did you check that box? What number do you have in that text field next to the checkbox?

[Next page](https://forums.plex.tv/t/plex-port-forwarding/752017.md?page=2)
