Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
Problem assigning NAT rule for Plex Media Server
« previous
next »
Print
Pages: [
1
]
Author
Topic: Problem assigning NAT rule for Plex Media Server (Read 9162 times)
Stuggi
Newbie
Posts: 9
Karma: 1
Problem assigning NAT rule for Plex Media Server
«
on:
October 22, 2016, 12:43:07 am »
I'm trying to set up a rule to NAT traffic on port 32400 to an internal IP that runs the Plex Media Server. For some reason I seem to get the port open but the Plex cloud service refuses to accept that it can access the Plex server on that port, leading me to believe that something is wrong with my NAT. That I'm unfamiliar with OPNsense (just switched from pfSense) and that the Plex "port forwarding guide" isn't very well written might have something to do with it.
So far I've figured out the following;
Plex seems to use TCP and UDP, since they vaguely hint at making two NAT rules, one for UDP and one for TCP. As there is only one port I gather they both use the same port number, and as such a NAT rule with the protocol set to tcp/udp should work?
On the NAT rule page I've set the following options;
Disabled: No
No RDR: No
Interface: WAN
TCPIP: IPv4
Protocol: TCP/UDP
I left the advanced source settings alone
Destination / Invert: No
Destination: Any
Destination Port: From: Other 32400 To: Other 32400
Redirect target IP: <local IP of Plex Box>
Redirect target port: 32400
NAT reflection: Use system default
Filter Rule: Add associated rule
What have I messed up?
Logged
ristridin
Newbie
Posts: 32
Karma: 9
Re: Problem assigning NAT rule for Plex Media Server
«
Reply #1 on:
October 24, 2016, 09:23:40 am »
Hi,
looks correct so far, just change destination from any to wan adress... these are the settings I have running for my plex servers.
Logged
reep
Jr. Member
Posts: 68
Karma: 8
Re: Problem assigning NAT rule for Plex Media Server
«
Reply #2 on:
October 27, 2016, 11:20:48 am »
I think you should allow ports 32400:32410
After that check in Plex Settings/Advanced/Server/Remote Access and see what you have in there as the detected port and IP - you may need to Manually specify the port.
Logged
danderemer
Newbie
Posts: 2
Karma: 1
Re: Problem assigning NAT rule for Plex Media Server
«
Reply #3 on:
October 28, 2016, 10:35:35 pm »
I initially had trouble with the port forwarding setup after switching from an older version of pfSense. OPNsense's implementation is actually very close to the current pfSense 2.x series. Here's what I did (I have Time Warner Cable with a single dynamic IP):
Under Firewall -> Nat -> Port Forward
No RTR: unchecked
Interface: WAN
TCP/IP Version: IPv4
Protocol: TCP
Source: Any
Source Port: Any/Any
Destination: WAN Address
Destination port range: 32400/32400
Redirect target IP: My Plex server internal IP
Redirect target port: 32400
Description: Plex Media Server
NAT Reflection: None
Filter Rule Association: create associated filter rule.
I am connected and things are working fine for me. Now to tackle traffic shaping for remote Plex streams.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
16.7 Legacy Series
»
Problem assigning NAT rule for Plex Media Server