# IPFIRE + Plex Server + TV

**URL:** <https://community.ipfire.org/t/ipfire-plex-server-tv/8099>\
**Category:** Installing & Running IPFire\
**Created:** [17 June 2022 00:39 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099 "2022-06-17T00:39:24Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![dreker](https://community.ipfire.org/user_avatar/community.ipfire.org/dreker/32/4703_2.png) [@dreker](https://community.ipfire.org/u/dreker)\
**Post date:** [18 June 2022 00:09 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/21 "2022-06-18T00:09:55Z")

</div>

I tried, it didn’t work

1

 ![image](https://community.ipfire.org/uploads/default/original/2X/3/3c6d1626eeaa047000cd439dcd07d534867db665.png)

2

 ![image](https://community.ipfire.org/uploads/default/original/2X/1/120366a2b6c95a40fbce1ca8b595d8c5c3c70c70.png)

3

 ![image](https://community.ipfire.org/uploads/default/original/2X/d/deaca82db0ab97612ecac36db6b5b21b10fb8f97.png)

4

 ![image](https://community.ipfire.org/uploads/default/original/2X/9/96fa305f92cdbad7e1d49da88ee26a4aeb9beca3.png)

5

 ![image](https://community.ipfire.org/uploads/default/original/2X/4/486043fa4c1125af469b56d65e1f114d5824a54b.png)

6

 ![image](https://community.ipfire.org/uploads/default/original/2X/d/d9435a393ed3aa6786f9117b634cfbcf370e5f11.png)

---

<div class="post-metadata">

**Author:** ![tphz](https://community.ipfire.org/user_avatar/community.ipfire.org/tphz/32/16551_2.png) [@tphz](https://community.ipfire.org/u/tphz)\
**Post date:** [18 June 2022 00:18 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/22 "2022-06-18T00:18:20Z")

</div>

Analyze this post and the next below.

> [@How to get port forwarding working](https://community.ipfire.org/t/how-to-get-port-forwarding-working/6237/16):
>
> I’ll have another look. thinking Maybe a reinstall would be faster face_with_hand_over_mouth wink Could you show: subnet mask, default gateway, routing table, on W (192.168.0.212)?

---

<div class="post-metadata">

**Author:** ![dreker](https://community.ipfire.org/user_avatar/community.ipfire.org/dreker/32/4703_2.png) [@dreker](https://community.ipfire.org/u/dreker)\
**Post date:** [18 June 2022 00:18 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/24 "2022-06-18T00:18:55Z")

</div>

I can’t connect the TV to GREEN for physical reasons here at home =/

And working is as important as I learn and understand how to solve through IPFIRE settings 🙂

---

<div class="post-metadata">

**Author:** ![dreker](https://community.ipfire.org/user_avatar/community.ipfire.org/dreker/32/4703_2.png) [@dreker](https://community.ipfire.org/u/dreker)\
**Post date:** [18 June 2022 00:20 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/25 "2022-06-18T00:20:46Z")

</div>

I need to understand how static route works

---

<div class="post-metadata">

**Author:** ![tphz](https://community.ipfire.org/user_avatar/community.ipfire.org/tphz/32/16551_2.png) [@tphz](https://community.ipfire.org/u/tphz)\
**Post date:** [18 June 2022 00:38 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/26 "2022-06-18T00:38:04Z")

</div>

Enter IP RED as gateway on TV  
then try again

---

<div class="post-metadata">

**Author:** ![dreker](https://community.ipfire.org/user_avatar/community.ipfire.org/dreker/32/4703_2.png) [@dreker](https://community.ipfire.org/u/dreker)\
**Post date:** [18 June 2022 00:47 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/27 "2022-06-18T00:47:26Z")

</div>

Put 192.168.0.60 here?

 ![image](https://community.ipfire.org/uploads/default/original/2X/c/c06eb697806fa8562cdc8ed3f3cd036769b123ce.jpeg)  
 ![image](https://community.ipfire.org/uploads/default/original/2X/5/5cc12666900d4e11e6f0c710151fe938ebba4d65.png)

---

<div class="post-metadata">

**Author:** ![dreker](https://community.ipfire.org/user_avatar/community.ipfire.org/dreker/32/4703_2.png) [@dreker](https://community.ipfire.org/u/dreker)\
**Post date:** [18 June 2022 00:49 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/28 "2022-06-18T00:49:04Z")

</div>

![image](https://community.ipfire.org/uploads/default/original/2X/5/5c00cb62d3b3a67b86a764469d646f53672385f4.png)

 ![image](https://community.ipfire.org/uploads/default/original/2X/d/dcecf304ef0fa7810e4a0abb4c180a7974743b26.png)

---

<div class="post-metadata">

**Author:** ![hvacguy](https://community.ipfire.org/user_avatar/community.ipfire.org/hvacguy/32/8576_2.png) [@hvacguy](https://community.ipfire.org/u/hvacguy)\
**Post date:** [18 June 2022 02:08 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/29 "2022-06-18T02:08:17Z")

</div>

From a quick search.  
It appears you may need more ports for plex client to work

> **[What network ports do I need to allow through my firewall? | Plex Support](https://support.plex.tv/articles/201543147-what-network-ports-do-i-need-to-allow-through-my-firewall/)**
>
> Note: This article is discussing ports in the local firewall of the computer running Plex Media Server. This is not...

You may want to allow all traffic.  
If that works .  
Check logs and research other ports required.  
Then add the ports to the services group.  
And make a Plex group and add required services.

---

<div class="post-metadata">

**Author:** ![dreker](https://community.ipfire.org/user_avatar/community.ipfire.org/dreker/32/4703_2.png) [@dreker](https://community.ipfire.org/u/dreker)\
**Post date:** [18 June 2022 03:32 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/30 "2022-06-18T03:32:15Z")

</div>

![image](https://community.ipfire.org/uploads/default/original/2X/0/0542e711ed2457c1b17fc0e41990c9e2b8208b84.png)

And now, this?

 ![image](https://community.ipfire.org/uploads/default/original/2X/1/1c3045f60df03471c4b1b598610e9aeb3961def5.png)

Log:

> **[IPFire firewall log: June 18, 202200:00:00 IN=red0 OUT= MAC=ff:ff:ff:ff:ff -...](https://pastebin.com/FLB6S4Rp)**
>
> Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

 ![image](https://community.ipfire.org/uploads/default/original/2X/a/a3628f961d4f72cfcc21b054259d0a03cd274548.png)

What would that be?  
 ![image](https://community.ipfire.org/uploads/default/original/2X/e/e313aa83b797f882f7290567ca25954af44d9bdc.png)

---

<div class="post-metadata">

**Author:** ![tphz](https://community.ipfire.org/user_avatar/community.ipfire.org/tphz/32/16551_2.png) [@tphz](https://community.ipfire.org/u/tphz)\
**Post date:** [18 June 2022 09:11 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/31 "2022-06-18T09:11:41Z")

</div>

Do you only see this when the “plex client” is running on the TV?

When you turn off the “plex client” on the TV, do these connections disappear?

---

<div class="post-metadata">

**Author:** ![hvacguy](https://community.ipfire.org/user_avatar/community.ipfire.org/hvacguy/32/8576_2.png) [@hvacguy](https://community.ipfire.org/u/hvacguy)\
**Post date:** [18 June 2022 12:49 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/32 "2022-06-18T12:49:27Z")

</div>

> [@cfusco](#):
>
> 192.168.0.30 is a local IP address but it is not an IPFire local IP,

Is your plex client set to connect to?  
What ip do you have there.  
Should be your ipfire WAN ip.  
Is that the case?  
192.168.0.255 is a broad cast address

---

<div class="post-metadata">

**Author:** ![cfusco](https://community.ipfire.org/user_avatar/community.ipfire.org/cfusco/32/9213_2.png) [@cfusco](https://community.ipfire.org/u/cfusco)\
**Post date:** [18 June 2022 13:18 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/33 "2022-06-18T13:18:49Z")

</div>

> [@dreker](#):
>
> What would that be?

This log is what IPFire sees. Your plex client is sending packets on UDP port 15600 destined on all members of the local network (the local network on the modem), as .255 is the broadcast address. Concerning 192.168.0.51, I think it should be the IP address of the modem, from the side communicating with IPFire. Basically, the gateway to IPFire in the red interface.

If I am right, you could write a static route (\*) (\*\*) in IPFire where 192.168.0.30 (the IP assigned by the modem) goes to 192.68.0.51 (the gateway to the modem). This way you could put 192.168.0.30 in the source field instead of the whole red interface. You still need to get the ports right. As well as make sure the modem also delivers to the plex client.

Speaking of ports, IPFire should not drop those packets. I think you have to add those ports to PlexPorts group.

Keep in mind, all this could be wrong. I am a clueless system administrator of my very tiny home network.

(\*) in the web user interface network/static routes  
(\*\*) I keep insisting on this point that I think you are missing, 192.168.0.30 is NOT ASSIGNED BY IPFire. If it were a public IP, IPFire would send it to its gateway on the red interface (your modem). However since it is NOT a public IP, I think IPFire will just drop it. Using a static route, at list IPFire should know that the traffic to and from that IP should go to the gateway in the red interface. To summarize, if you use the IP address of your plex clent as a source, you will get dropped (at least, I believe to be the case). You either put as source the whole red interface, or you first make a static route and then you use that IP in the source field.

---

<div class="post-metadata">

**Author:** ![tphz](https://community.ipfire.org/user_avatar/community.ipfire.org/tphz/32/16551_2.png) [@tphz](https://community.ipfire.org/u/tphz)\
**Post date:** [18 June 2022 13:46 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/34 "2022-06-18T13:46:54Z")

</div>

Below is modem address - Gateway for RED of IPFire and LAN network of modem  
 ![obraz](https://community.ipfire.org/uploads/default/original/2X/2/276e1884df1ed20c504bd4133d47edfbd8ac9001.png)

Below is address RED on IPFire  
 ![obraz](https://community.ipfire.org/uploads/default/original/2X/3/3ae8cc93af5e10b93cb06e8ad4d102e5390037b0.png)

192.68.0.51 is another host broadcasting something to port UDP 6667

> **[Port 6667 (tcp/udp)](https://www.speedguide.net/port.php?port=6667)**
>
> Port 6667 tcp/udp information, assignments, application use and known security risks.

---

<div class="post-metadata">

**Author:** ![hvacguy](https://community.ipfire.org/user_avatar/community.ipfire.org/hvacguy/32/8576_2.png) [@hvacguy](https://community.ipfire.org/u/hvacguy)\
**Post date:** [18 June 2022 13:47 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/35 "2022-06-18T13:47:47Z")

</div>

Plex client connection ip sould be  
192.168.0.60  
Your isp router doesn’t know where 10.11.12.10  
Is. Unless you add a static route in the ISP  
modem router. That static route should not be needed.  
As far as ports not all of them may be needed.  
You can add them all and remove them one at a time to see if it is truly needed.

---

<div class="post-metadata">

**Author:** ![cfusco](https://community.ipfire.org/user_avatar/community.ipfire.org/cfusco/32/9213_2.png) [@cfusco](https://community.ipfire.org/u/cfusco)\
**Post date:** [18 June 2022 13:55 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/36 "2022-06-18T13:55:00Z")

</div>

> [@tphz](#):
>
> 192.68.0.51 is another host

OK, so 192.168.0.60 is the IP address of IPFire in the MODEM routing table, and 192.168.0.1 is the gateway to the red interface of the IPFire routing table. If you want to use 192.168.0.30 in IPFire, e.g. the source field of a NAT rule, you need to write a static route where you put 192.168.0.1 as the gateway for 192.168.0.30

---

<div class="post-metadata">

**Author:** ![cfusco](https://community.ipfire.org/user_avatar/community.ipfire.org/cfusco/32/9213_2.png) [@cfusco](https://community.ipfire.org/u/cfusco)\
**Post date:** [18 June 2022 13:58 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/37 "2022-06-18T13:58:02Z")

</div>

> [@tphz](#):
>
> 192.68.0.51 is another host broadcasting something to port UDP 6667

I see, teh question then is, does it have any business entering the firewall? If not, let IPFire do its job of dropping it.

---

<div class="post-metadata">

**Author:** ![cfusco](https://community.ipfire.org/user_avatar/community.ipfire.org/cfusco/32/9213_2.png) [@cfusco](https://community.ipfire.org/u/cfusco)\
**Post date:** [18 June 2022 14:06 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/38 "2022-06-18T14:06:05Z")

</div>

> [@tphz](#):
>
> 192.68.0.51 is another host broadcasting something to port UDP 6667

My apologies, I thought I was responding to the OP. You are absolutely right and you are using your brain much more effectively than I was doing.

---

<div class="post-metadata">

**Author:** ![tphz](https://community.ipfire.org/user_avatar/community.ipfire.org/tphz/32/16551_2.png) [@tphz](https://community.ipfire.org/u/tphz)\
**Post date:** [18 June 2022 14:09 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/39 "2022-06-18T14:09:51Z")

</div>

No problem. Tonight I looked wrong 🧐 and thought the TV was broadcasting to port 6667. 🤭

---

<div class="post-metadata">

**Author:** ![cfusco](https://community.ipfire.org/user_avatar/community.ipfire.org/cfusco/32/9213_2.png) [@cfusco](https://community.ipfire.org/u/cfusco)\
**Post date:** [18 June 2022 14:10 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/40 "2022-06-18T14:10:48Z")

</div>

> [@hvacguy](#):
>
> Plex client connection ip sould be  
> 192.168.0.60  
> Your isp router doesn’t know where 10.11.12.10  
> Is. Unless you add a static route in the ISP  
> modem router. That static route should not be needed.

100% this.

---

<div class="post-metadata">

**Author:** ![hvacguy](https://community.ipfire.org/user_avatar/community.ipfire.org/hvacguy/32/8576_2.png) [@hvacguy](https://community.ipfire.org/u/hvacguy)\
**Post date:** [18 June 2022 14:10 UTC](https://community.ipfire.org/t/ipfire-plex-server-tv/8099/41 "2022-06-18T14:10:54Z")

</div>

The ISP modem/router  
Knows the TV plex client = 192.168.0.30  
And it knows ipfire WAN ip =192.168.0.60  
So no static route needed.  
The TV is talking to the ISP router.  
ISP router sends info to ipfire  
You only need ports open to start comunication  
with Plex server. Plex server can open ports to send responses as needed.

[Previous page](https://community.ipfire.org/t/ipfire-plex-server-tv/8099.md?page=1)

[Next page](https://community.ipfire.org/t/ipfire-plex-server-tv/8099.md?page=3)
