OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Plex NAT Rule
« previous next »
  • Print
Pages: [1]

Author Topic: Plex NAT Rule  (Read 12082 times)

gravyfish

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Plex NAT Rule
« 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.
Logged

gravyfish

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: Plex NAT Rule
« Reply #1 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.
Logged

daniel329

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: Plex NAT Rule
« Reply #2 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?
Logged

Ren

  • Jr. Member
  • **
  • Posts: 52
  • Karma: 3
    • View Profile
Re: Plex NAT Rule
« Reply #3 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)



Logged

Ren

  • Jr. Member
  • **
  • Posts: 52
  • Karma: 3
    • View Profile
Re: Plex NAT Rule
« Reply #4 on: May 26, 2018, 09:48:27 pm »
You will also need to add custom DNS option

Logged

daniel329

  • Newbie
  • *
  • Posts: 11
  • Karma: 0
    • View Profile
Re: Plex NAT Rule
« Reply #5 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 :)
Logged

walkerx

  • Full Member
  • ***
  • Posts: 103
  • Karma: 4
    • View Profile
Re: Plex NAT Rule
« Reply #6 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
Logged

HA4g3n

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Plex NAT Rule
« Reply #7 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"
« Last Edit: January 20, 2019, 07:17:32 pm by HA4g3n »
Logged

TheRealBeltet

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Plex NAT Rule
« Reply #8 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?
Logged

Koldnitz

  • Jr. Member
  • **
  • Posts: 57
  • Karma: 12
    • View Profile
Re: Plex NAT Rule
« Reply #9 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/

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

Cheers,
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Plex NAT Rule
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2023 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2