this post was submitted on 20 Jul 2025
8 points (78.6% liked)

Self Hosted - Self-hosting your services.

15037 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Cross-posting

If you see a rule-breaker please DM the mods!

founded 4 years ago
MODERATORS
 

Hello

Note that I am only interested in the technical details and I already have alternative for remote access.

As you may know Plex made some changes recently and remote access became a paid feature.

At first I thought that only people using plex.tv who will be impacted as they are using their relay feature. But I was surprised that accessing the server by its public IP is considered as a remote access (it make sense though).

So I thought that putting Plex behind a reverse proxy in the same network will solve the issue. Plex will see a local connection from the reverse proxy and treat it as a direct access. But still Plex detect that as a remote access. I even tweaked the host and headers passed by reverse proxy with no success.

Plex even consider accessing the server using a local domain as a remote access.

So I tested tailscale, I ran it on the server and tried to access Plex using the assigned IP but my access is considered a remote access. Now I ran tailscale on the client and accessing Plex from it is considered a direct access.

At first I thought Plex was checking the url but it doesn't seem to be the case.

Can someone explain me how does Plex detect remote vs local access?

top 6 comments
sorted by: hot top controversial new old

There is an obfuscated direct URL that Plex uses. It uses the format (the IP address is an example):

192-168-0-111.[your Plex server hash].direct.plex.tv:[port]

This will allow for a direct connection, basically no matter what, though I should disclose that I have a lifetime Plex Pass. I forget how to find the hash, but I'm sure you can look it up.

[–] RCSM@hometech.social 0 points 6 days ago (1 children)

@Underwire Plex probs? Try Jellyfin. You will need your own incoming VPN, but its all local

[–] Underwire@lemmy.world 1 points 6 days ago

No I don't have issues and I already have different way to access it remotely.

I am just interested in the technical details of how it works.

[–] MentalEdge@sopuli.xyz 5 points 1 week ago* (last edited 1 week ago)

From what you've said, probably multiple ways.

It sounds as though they've deliberately implemented some kinds of checks to lock the feature down and get people to pay up.

[–] lordnikon@lemmy.world 3 points 1 week ago

its most likely using the ip space of the primary interface to establish the local network and any tun interfaces are scene as remote automatically.

[–] Changer098@lemmy.dbzer0.com 1 points 1 week ago

I don't know how it impacts the paid feature changes recently but you can add additional "LAN Networks" to Plex in the "Network" tab in the Settings to consider additional IP Ranges as a LAN network. I believe the LAN detection is based on the original subnet of the server where traffic from any other range is treated as WAN access.