No Plex playback over HAProxy, only with direct connection to Server [solved]

Server Version#: 1.29.2.6364
Player Version#: 9.11.1.36576 (Android TV) / 1.58.1.3380 (Windows 10)

Hello everyone,

since a week or two some of my users started to experience issues with video playback.
Today I found the issue but are somewhat confused why this problem only happened now.

The issue is the following:

  • All the devices with Plex clients are in Network A, the HAProxy reverse proxy (Let’sEncrypt cert) is in Network B and the Plex server is in Network C.
  • Clients in Network A are only allowed to access Port 443 TCP on the reverse proxy, wich works flawlessly thanks to split DNS (local DNS = reverse proxy, Internet = Cloudflare proxy):

grafik

  • Recently the Plex clients started to try a direct connection to the Plex server IP in Network C, which is blocked by my pfSense firewall rules (browsing the GUI works however).
  • Adding a firewall rule that allows the Plex cliens in Network A to the Plex server IP with Port 32400 TCP fixes the issue, however this is not something I like.
  • I also noticed that the Plex clients tried to access the IP address of the Plex server’s storage backend interface - which I suppose they got told from the Plex server?

Now my question is: is there a way to make the Plex clients stop trying to connect to the Plex server’s IP address directly and only use the HAProxy reverse proxy?

Could this maybe be related to me putting “172.16.0.0/12” and “192.168.0.0/16” in the “LAN Networks” field?

Thanks in advance :slight_smile:
grafik

Found a solution that solved my problem:

In the Server settings under the Network tab, the is a “preferred network adapter” option where one can manually select one network interface which clients will connect to.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.