Port forward troubleshooting
-
WAN is WAN port on int firewall.
How do you access this Plex dealie anyway? Web browser or app? What address are you using to connect?
I should set Port Forward in Internal Firewall by Set destination of WAN Port of Internal Firewall isn't it?
Yes.
-
how many threads you going to open about this?
https://forum.pfsense.org/index.php?topic=123659.0
-
Hi Johnpoz,
I opened two topic. I didn't want to mess up the forum type. I opened this one first about Firewall and Port forward but the one I have with you was routing wasn't it? and turn out we keep messaging about port forwarding.
-
Hi Kom,
I use Plex App to access Plex Media Server.
Please see my attachment for WAN and LAN information.
192.168.1.132 is my WAN PORT for internal Firewall
![WAN AND LAN IP.JPG](/public/imported_attachments/1/WAN AND LAN IP.JPG)
![WAN AND LAN IP.JPG_thumb](/public/imported_attachments/1/WAN AND LAN IP.JPG_thumb) -
What address are you using to connect?
-
Hi Kom,
Currently only one device is using for the test to connect to Plex server which IP address is 192.168.1.65
Subnet Mask is 255.255.255.0 -
I don't see 192.168.1.65 on your network diagram anywhere. If you are Plex Device and you want to get to a forwarded server, then you need to connect to the WAN that is handling the forward. Try telling your Plex software to talk to the Plex server at 192.168.1.132. Internal pfSense (if you have your forwards setup correctly) should forward that traffic to the Plex server behind it.
-
Hello KOM,
Thank you so much for keeping it up with me.
Honestly this is my very first time setting Port Forwarding. I have read and learn a lot but never put into practice before.
I only set up Wifi router behide external firewall but not internal firewall. Whatever Device use Plex App will get IP address from 192.168.1.55 - 192.168.1.254. That's why I didn't put any particular address in diagram.
I did set Plex Device to put to port 192.168.1.132 which will get redirect to Plex Server which is 192.168.0.61 however it give me error but different kind of Error though
-
What error? I don't have any experience with Plex so I can't give you more specific advice. Please go through this list:
https://doc.pfsense.org/index.php/Port_Forward_Troubleshooting
Generally when you have a forward that isn't working, you need to verify several things. The list above goes over all of them.
-
Hi Kom,
I totally understand that this is as far as you can go with Pfsense.
The error said A connection to a Server couldn't be established using the details you provided
Error code: 401I need to go through Plex forum and find out if anyone else has the same experience
It was a good sign though because when I try to add the server, usually it will load for some time then give me an Error message but since I change setting you suggested me it was different. The connection did right away and pop up the different error message I wrote above. Seem like the connection take place but something wasn't right.
This question has nothing to do with Pfsense at all but do you know if I have to do anything with Plex Server? I run it on Windows 7.
I already add Plex port 32400 in Firewall rule on Windows 7.Do I have to do anything else?
-
Also is there anyway I could test port forwarding within location network?
I notice port forwarding tools I could use on-line but that was meant to be testing with my Public IP address and firewall.
Surely I can't use that to test my local network port forwarding -
I have zero Plex experience. Did you forward ALL of the ports listed by the Plex wiki? There were quite a few of them. Other than that, use standard troubleshooting. Check your pfSense firewall logs to see if it's blocking any traffic destined for the Plex server. Check the Plex server logs or status to see if there is any network or authentication issues it may have logged. Use the pfSense packet capture to sniff packets on LAN and see if the forwarded traffic is going to the Plex server.
-
Hi Kom,
I added all the port
from this list
https://support.plex.tv/hc/en-us/articles/201543147-What-network-ports-do-I-need-to-allow-through-my-firewall-
Still no good news.
I am going one by one from the list you give me.
Also I did Netstat -a scan port from pc within Internal Firewall. I don't see port 32400 is on the list though.
If I am not mistaken should port 32400 should be listen when I Netstat -a for port scanning?
![NAT Overview.PNG](/public/imported_attachments/1/NAT Overview.PNG)
![NAT Overview.PNG_thumb](/public/imported_attachments/1/NAT Overview.PNG_thumb) -
If I am not mistaken should port 32400 should be listen when I Netstat -a for port scanning?
No idea, I don't know Plex. That port isn't in their list, so where did you get the idea that it's required for Plex? If you can confirm from your firewall logs that nothing is being blocked, and from a packet capture you can see the forwarded traffic leaving the internal pfSense LAN interface, then your problem is with the Plex server and client.
-
That port isn't in their list
Huh.. Its the TOP of the list, and really the ONLY Port that needs to be allowed for remote access to plex.. All of those other ports are not needed for remote access and really related to a software firewall running on the plex box itself.
The most important port to make sure your firewall allows is the main TCP port the Plex Media Server uses for communication..
TCP: 32400 (for access to the Plex Media Server) [required]
If your plex server is not listing on 32400, then you must of changed it - or plex isn't even running.. Under the server setting look at the remote settings.. You should see the port its set to.. The default is 32400, unless you changed it that is the port.
As you can see yes on the machine running plex server doing a netstat should show that port listing. You should be able to access it via web interface on that port with the url I gave before and you can see in my screen shot. Can you access that when your on the local network?? Once your outside the pfsense and you have forwarded that port you need to hit the pfsense WAN IP with that port and you should be forwarded to the plex IP you forwarded.
If works local and not remote. Then go through the port forward troubleshooting..
-
Huh.. Its the TOP of the list
OK, so I'm fully braindead today, not just my usual partial. :-[ My eye skipped over that and went straight to the listy part of the list.
-
Hi Kom,
That's ok It happens sometime. Thank you again for your help. I will keep you update tomorrow. Somehow I totally mess my server up today.
Just got it back on-line by miracle. Tomorrow is another day. -
Hi Johnpoz,
Thank you for your guide. I will have a look again tomorrow.
I didn't do port scan on the Plex server itself but other computer in the same network be hide internal Firewall and I couldn't see the port 32400 in the listing. Will check one more time and let you know.
Thank you so much.
-
If you scanned the machine from another machine on the same network as plex, and didn't see 32400 as open.. Then either plex is not running, you changed the port or there is a firewall running on the plex server.
If you say you disabled or allowed the ports on the windows firewall.. You sure you did it for the correct profile. Windows has its private/work profile and then a public profile. So you need to make sure you all the rules for the network profile the windows machine is using. Or just turn it off all together to be honest.. Your behind a firewall already, so unless you have hostile devices on this network your on.. The software firewall is kind pointless.
Also you sure your not running some other 3rd party firewall, say if you installed some antivirus many of them have firewalls, etc.
If you can get to plex from box on the same network as the plex server, then your not going to be able to get to it from pfsense either..
-
Hi guys,
Sorry for taking so long to write the update. I needed to catch up with some other works.
Johnpoz, was right about the port scan. I did port Netstat scan on the Plex server. I could see port 32400 is listening on the Plex Machine but for some reason other machine within the same network couldn't see the port.
I turn off the firewall and anti-virus. That did not make any different. So I thought it was the machine fault so I installed new Plex in different machine but I got the same result.
Windows machine is using DHCP from the Server (not Pfsense) I don't know if that make any different. I try to put the machine in static in pfsense but I get the same negative result.