Plex NAT Rule

Started by gravyfish, May 16, 2018, 10:37:06 PM

Previous topic - Next topic
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.

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.

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?

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)




You will also need to add custom DNS option


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 :)

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

January 20, 2019, 02:41:16 AM #7 Last Edit: January 20, 2019, 07:17:32 PM by HA4g3n
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"

Sorry for the necro bump...
But as the custom options is not available  anymore, anyone knows how to get the same results?

You can re-add the custom options by using mimugmail's repo https://www.routerperformance.net/opnsense-repo/

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

Cheers,