OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Port Forwarding with Plex not working.
« previous next »
  • Print
Pages: [1]

Author Topic: Port Forwarding with Plex not working.  (Read 1778 times)

cclloyd

  • Newbie
  • *
  • Posts: 30
  • Karma: 0
    • View Profile
Port Forwarding with Plex not working.
« on: September 13, 2018, 12:08:13 pm »
I'm trying to allow plex to access outside my home network, but it says it can't connect.

Plex is running in a docker container in `network_mode: host`, so no docker subnet.

I have a NAT rule :

Source port: 32400
Source IP: any
Destination port: 32400
Destination host: 10.0.1.11
Redirect target port: 32400
Redirect target IP: 10.0.1.11

But when I try to allow plex access outside my network, it fails to connect.
Logged

Evil_Sense

  • Jr. Member
  • **
  • Posts: 99
  • Karma: 14
    • View Profile
Re: Port Forwarding with Plex not working.
« Reply #1 on: September 13, 2018, 12:48:31 pm »
If I'm not wrong, the help text on "Source port" should state that you mostly don't need to set it.

Try to set it to 'any'
Logged

jclendineng

  • Newbie
  • *
  • Posts: 24
  • Karma: 4
    • View Profile
Re: Port Forwarding with Plex not working.
« Reply #2 on: September 13, 2018, 05:36:01 pm »
The correct format is:

Interface: WAN
TCP/IP: IPv4
Protocol: TCP
Destination: This Firewall (This is a must)
Destination Port Range: The port you are hitting from outside the network
Redirect Target IP: IP of the host within the network
Redirect Target Port: Port you are accessing on the host within your network

Set it up like this under NAT > Port Forwarding

I would highly recommend using firewall aliases, an alias for your host and an alias for the port.  Makes things much easier to read and understand down the road when you ask yourself why you needed the port forward.  And of course a good description :D

Edit: Leave everything else default, I would delete your previous rule and add one like this
« Last Edit: September 13, 2018, 05:40:39 pm by jclendineng »
Logged

cbb09

  • Newbie
  • *
  • Posts: 38
  • Karma: 2
    • View Profile
Re: Port Forwarding with Plex not working.
« Reply #3 on: September 13, 2018, 06:07:40 pm »
Quote from: cclloyd on September 13, 2018, 12:08:13 pm
I'm trying to allow plex to access outside my home network, but it says it can't connect.

Plex is running in a docker container in `network_mode: host`, so no docker subnet.

I have a NAT rule :

Source port: 32400
Source IP: any
Destination port: 32400
Destination host: 10.0.1.11
Redirect target port: 32400
Redirect target IP: 10.0.1.11

But when I try to allow plex access outside my network, it fails to connect.

I am using the uPNP plugin in OPNsense and tell Plex to to talk to uPNP. this allows for rotating/randomized external ports.
Logged

guest15389

  • Guest
Re: Port Forwarding with Plex not working.
« Reply #4 on: September 14, 2018, 12:19:37 am »
Turn off UPNP and do a manual port forward as described and you'll get working.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 18.7 Legacy Series »
  • Port Forwarding with Plex not working.
 

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