Auth bypass does not work LAN hostname, only IP address

Server Version#: 1.41.2.9200
Player Version#: web

Following the guidance for enabling auth bypass at https://support.plex.tv/articles/200890058-authentication-for-local-network-access/
does not work unless accessed via IP address and not LAN hostname. For some reason when I enter http://plex:32400/web it redirects to the auth page, but if I enter the IP address it works as expected and bypasses auth. This is unexpected behavior and should be corrected.

Per that page, you specify IP addresses.

PMS looks at the referrer URL in the header on connect.

If that URL is an IP (as found in the list), authentication is bypassed.
Anything else requires authentication (Name or FQDN)

It is working as documented.

THAT SAID – If you have a hosts file entry (not DNS server) which has the name by IP, depending on the player client, it is possible the URL header will contain the PMS IP and not the PMS hostname (or FQDN)

It’s tricky. PMS is very exacting about security and only allowing what’s so specified.

The browser solution I use is to name the bookmark but have the server IP as the URL.

Thanks for the explanation. I guess I’m stuck with IP addresses. I’m using openwrt with dnsmasq, which is not a hosts file. Would be helpful to have this point made more clear in the above link to save time.

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