this post was submitted on 04 Oct 2023
27 points (84.6% liked)

Selfhosted

40400 readers
791 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:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I currently have my Plex server open to the world. I realise that's probably not best practice, so I'm trying to find a solution that can work for me.

I've been looking at cloudflare tunnels and it seems like thats probably what I want. Giving me access to my home server from outside. And it's free, which is a nice perk

I've noticed however that the terms of service don't allow for video streaming, but is allowed in the paid tier. Before I commit to spending money, I'm curious if it's even technically possible. Plex tends to phone home to allow users to authenticate and locate their servers, so is that possible through tunnels?

Is this a waste of time? Is there a better solution? How are others dealing with this problem?

you are viewing a single comment's thread
view the rest of the comments
[–] camr_on 3 points 1 year ago* (last edited 1 year ago) (2 children)

My understanding is that cloudflare will block you from doing this if/when they detect you doing it, someone correct me if I'm wrong.

Off the top of my head, would a tailscale funnel work for what you want? Serving Plex to the Internet without port forwarding?

Actually with Plex, I'm not sure you even need to expose it at all. People can reach your server via the Plex app as long as it's connected to Plex servers, they don't need to reach the site actually hosted on your hardware

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

Without direct connection, PMS uses Plex Relays, which limit streams to like 320p.

[–] [email protected] 1 points 1 year ago (1 children)

Pretty sure it needs at least one port forwarded to make use of plex remotely

[–] [email protected] 1 points 1 year ago

Yes, there's the one open port that is required. Otherwise your traffic gets routed through Plex servers and the streams are limited to pretty poor quality video