pfsense:plex
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
pfsense:plex [2020/03/22 18:39] – peter | pfsense:plex [2020/12/07 09:30] (current) – [Update DNS Resolver] peter | ||
---|---|---|---|
Line 5: | Line 5: | ||
In Plex: | In Plex: | ||
- | < | + | Navigate to **Settings -> Server Settings -> Remote Access**. |
- | Settings -> Server Settings -> Remote Access | + | |
- | </ | + | |
{{: | {{: | ||
Line 23: | Line 21: | ||
In pfSense: | In pfSense: | ||
- | < | + | Navigate to **Firewall -> NAT -> Port Forward**. |
- | Firewall -> NAT -> Port Forward | + | |
- | </ | + | |
* Add a new rule and fill it out as follows: | * Add a new rule and fill it out as follows: | ||
Line 37: | Line 33: | ||
{{: | {{: | ||
- | When you receive request for port 32400 on the WAN gateway from any source IP or port, redirect it to 192.168.1.2:32400. | + | When you receive request for port 32400 on the WAN gateway from any source IP or port, redirect it to 192.168.1.5:32400. |
<WRAP important> | <WRAP important> | ||
Line 44: | Line 40: | ||
- | It may be prudent to verify that this does exists under **Firewall -> Rules -> WAN**, and if not to manually configure such as rule. | + | It may be prudent to verify that this does exists under **Firewall -> Rules -> WAN**, and if not to manually configure such a rule. |
How is this different from the NAT rule? Well the NAT rule was telling the firewall how to map an external port to an internal one, so that our machine is reachable from the internet. | How is this different from the NAT rule? Well the NAT rule was telling the firewall how to map an external port to an internal one, so that our machine is reachable from the internet. | ||
Line 61: | Line 57: | ||
---- | ---- | ||
- | ==== Update | + | ==== Update DNS Resolver ==== |
pfSense includes built in methods of [[https:// | pfSense includes built in methods of [[https:// | ||
- | In pfSense: | + | This protection can prevent being able to connect to a Plex Media Server securely on the local network. |
- | < | + | To remediate this: |
- | Services -> DNS Resolver -> General Settings | + | |
+ | * In pfSense: | ||
+ | * Navigate to **Services -> DNS Resolver -> General Settings**. | ||
+ | * Add the following to the **Custom Options** box on a new line. < | ||
+ | server: | ||
</ | </ | ||
- | Add the following to the **Custom Options** box on a new line. | + | |
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | <WRAP todo> | ||
+ | **TODO:** This image is wrong. | ||
+ | </ | ||
+ | |||
+ | <WRAP info> | ||
+ | **NOTE: ** An alternative method is to have the following entries within the Resolver Custom option: | ||
< | < | ||
- | server:private-domain: " | + | server: |
+ | local-zone: “plex.direct” redirect | ||
+ | local-data: " | ||
</ | </ | ||
- | Ensure that other entries in this box are on separate lines. | + | </ |
- | {{:pfsense:pfsense_dns_resolver_custom_options.png?800|}} | + | <WRAP info> |
+ | **NOTE:** An alternative method to overcome the DNS protection is to navigate to **System -> Advanced -> Firewall and NAT**. | ||
+ | |||
+ | In **Network Address Translation**: | ||
+ | |||
+ | * NAT Reflection mode for port forwards: | ||
+ | |||
+ | While this works for remote connections, | ||
+ | |||
+ | </ | ||
+ | |||
+ | <WRAP important> | ||
+ | **WARNING: | ||
+ | |||
+ | This can affect which streaming qualities are used, as well as trigger Remote-applicable Server Settings - Bandwidth and Transcoding Limits. | ||
+ | |||
+ | </ | ||
---- | ---- | ||
+ | See [[PFSense: | ||
+ | ---- | ||
- | ==== Use **NAT reflection** ==== | + | |
+ | |||
+ | ==== Use NAT reflection ==== | ||
In pfSense: | In pfSense: | ||
- | < | + | Navigate to **Firewall -> NAT -> Port Forward**. |
- | Firewall -> NAT -> Port Forward | + | |
- | </ | + | |
Against the same rule created above (the rule named " | Against the same rule created above (the rule named " | ||
Line 101: | Line 131: | ||
==== Have Plex use Direct Mode ==== | ==== Have Plex use Direct Mode ==== | ||
+ | |||
+ | For Plex to work direct, and not in Indirect mode (limited to the quality you can play back to like a 2mbit stream or something) | ||
In Plex: | In Plex: | ||
- | For Plex to work direct, and not in Indirect mode (limited to the quality you can play back to like a 2mbit stream or something) | + | Navigate |
- | + | ||
- | < | + | |
- | System -> Advanced | + | |
- | </ | + | |
Disable DNS Rebind Checks. | Disable DNS Rebind Checks. |
pfsense/plex.1584902385.txt.gz · Last modified: 2020/07/15 09:30 (external edit)