OPNsense Forum

English Forums => General Discussion => Topic started by: gravyfish on May 16, 2018, 10:37:06 pm

Title: Plex NAT Rule
Post by: gravyfish on May 16, 2018, 10:37:06 pm
I don't know what I'm doing wrong, but my opnsense firewall continues to block inbound traffic on port 32400. I have created a NAT rule for Plex, including an associated firewall rule, but the firewall continues to block traffic based on the default deny rule. My NAT rule, the associated firewall rule, and the firewall deny logs are attached.

Thanks in advance for any help. I know it must be something simple, but I am not sure what to try next.
Title: Re: Plex NAT Rule
Post by: gravyfish on May 18, 2018, 04:17:21 am
Well, I haven't the foggiest idea what I did right, but I tried some generic stuff - updating to the latest version of OPNSense, removing the rule and re-adding it, and now it works.
Title: Re: Plex NAT Rule
Post by: daniel329 on May 26, 2018, 06:20:04 am
I'm gonna bump this instead of making a new post. I'm new to OPNSense and I can't get this working for the life of me. I have tried deleting and recreating settings over and over but Plex is unable to connect. Can anyone assist?
Title: Re: Plex NAT Rule
Post by: Ren on May 26, 2018, 09:44:16 pm
Here is a screenshot of how your rule should look. Source is any and destination is WAN. Destination port is plex port (default 32400). Redirect IP is you local plex server IP and redirect port is your local plex port (32400 default)

(https://image.ibb.co/jwqdAo/Port_Forward_Rule.png)

Title: Re: Plex NAT Rule
Post by: Ren on May 26, 2018, 09:48:27 pm
You will also need to add custom DNS option

(https://preview.ibb.co/i6eVqo/Plex_DNS_Option.png) (https://ibb.co/dpJ1wT)
Title: Re: Plex NAT Rule
Post by: daniel329 on May 28, 2018, 05:34:42 pm
This worked! Took a while for Plex to realize the port was open but now it's smooth sailing. Thanks so much! This thread needs to be marked solved so other users can use this :)
Title: Re: Plex NAT Rule
Post by: walkerx on November 28, 2018, 06:51:47 pm
For other users out there who may have some problems

These are the settings I used on the system and it worked

I applied the following settings only, any other setting under the Port Forward menu I left at their defaults (never even went into the advanced for Source)

Option
Firewall: NAT: Port Forward

Interface: WAN
TCP/IP Version: IPv4+IPv6
Destination: WAN address
Destination port range: from/to other 32400
Redirect target IP: PlexServer (or IP Address)
Redirect target port: other 32400
Description: Plex Remote Access
Nat reflection: Enable
Filter rule association: Pass
Title: Re: Plex NAT Rule
Post by: HA4g3n on January 20, 2019, 02:41:16 am
Well interesting,

when this option is set i can access PLEX hosted over my openvpn connection from 4G on mobile.
But the DHCP clients can't access internet then..

"Register DHCP static mappings in the DNS Resolver"
Title: Re: Plex NAT Rule
Post by: TheRealBeltet on April 04, 2022, 11:37:01 am
Sorry for the necro bump...
But as the custom options is not available  anymore, anyone knows how to get the same results?
Title: Re: Plex NAT Rule
Post by: Koldnitz on April 04, 2022, 02:30:49 pm
You can re-add the custom options by using mimugmail’s repo  https://www.routerperformance.net/opnsense-repo/ (https://www.routerperformance.net/opnsense-repo/)

Or you can set it up the correct way… https://docs.opnsense.org/manual/unbound.html (https://docs.opnsense.org/manual/unbound.html)…Go to advanced configuration.

Cheers,