Plex Media Server WAN IP Issue



  • So I have Comcast Business (coax) internet with 5 static IPs. I'm familiar with using virtual IPs to route my other 4 usable IPs to whatever device I like. My problem here is my Plex media server. It seems to be self-detecting itself showing that its IP is XXX.XXX.XXX.233 when I need it to be XXX.XXX.XXX.234. Because of this, my Plex account doesn't show that my system is online even though it is and in certain Plex apps (Xbox One), it simply won't show up and says it cannot reach my Plex Media Server (In PS3 I can manually type in the proper static IP and it works fine). I'm using the FreeNas version of Plex Media Server and bought a domain that points to my desired IP. Everything works fine if I type in "my_domain.com:32400/web" or "XXX.XXX.XXX.234:32400/web". What I want to know is if I can force assign my desired static IP to my Plex Media Server instead of using Virtual IPs. If not, I'll have to somehow force the detected WAN IP within Plex to show XXX.XXX.XXX.234 instead of .233. I've dug around the files via command line within Plex to do this but it's a hell of a search. I'm hoping for a shortcut. Has anyone had this issue with Plex or any other related issue? Thanks in advance.



  • If your computer running plex is behind the firewall and all the other devices are also then they should be picking up the local IP of your Plex and not the public.

    Only devices on the outside of your network should be picking up the public IP.

    For external access you should either do port forwarding from a VIP or 1 to 1 nat and create a rule for the internal IP inbound on 32400

    I have xbox, playstation, ipads, phones, amazon fire TV and all work properly.



  • @kapara:

    If your computer running plex is behind the firewall and all the other devices are also then they should be picking up the local IP of your Plex and not the public.

    Only devices on the outside of your network should be picking up the public IP.

    For external access you should either do port forwarding from a VIP or 1 to 1 nat and create a rule for the internal IP inbound on 32400

    I have xbox, playstation, ipads, phones, amazon fire TV and all work properly.

    I know, but that's not the problem. The problem is that I have 5 static IPs and when using virtual IPs, devices that can self detect what WAN IP they have, it's the .233 IP instead of the .234. (by default) My pfsense uses the first available static for itself, but since it uses virtual IPs instead of hard assigning a WAN IP to a device, all devices think they're on the first static IP (.233) instead of the one they should be on. Of course all devices within my network have a local IP and port forwarding works as normal. If I, for example, have a web server with a local IP of 192.168.1.100, I have no problem port forwarding one of my static IPs (let's say .235) using virtual IPs to my web server via port 80 and it will work just fine. If I hop onto that web server PC however, and Google "what is my IP", I will get .233 and not .235. This is my problem with Plex. I can easily reach it from outside my network via XXX.XXX.XXX.234:32400/web or mydomain:32400/web. That is no problem at all. My issue is with my server not showing up in my plex account. For xbox one, it needs to be on the account in order for it to work. It works on every other device only because I can manually type in the proper IP or domain name, but I need it to work correctly. I either need to force pfsense to assign .234 to my plex directly or find a way to make plex think that it's WAN IP is .234 instead of .233 by disabling auto detect and hard coding .234 as its WAN IP.



  • Are you doing 1to1 nat? With your IP for plex?



  • @kapara:

    Are you doing 1to1 nat? With your IP for plex?

    Ah, I haven't tried that yet. Omg how did I not think of that…. I'll try it and post results here.