this post was submitted on 18 Jun 2024
41 points (93.6% liked)

Selfhosted

40246 readers
763 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 1 year ago
MODERATORS
 

Hey all, I'm very new to self-hosting and have no background in anything computer-related. I'll explain in as much detail as I can. I'm running Plex on a Synology DS220+. I'm using the Plex app, i.e. not using Docker (see note below).

The issue: I can watch Plex on my local network in 4K, but outside my local network it barely makes it to 720p. I thought it was an issue with my upload speed, but I got gigabit last week and it hasn't fixed the issue. I have remote access enabled in Plex through a manually-specified port. The issue persists with my own account and any friends who have access to my library.

I appreciate any advice, links or questions you can offer!

NOTE: I understand the benefits of Docker and I promise to transition in the future. I spent many hours learning and troubleshooting, and it was even functional at times, but eventually I needed something that just worked.

EDIT: You all have been so helpful and supportive. Thanks for meeting me where I'm at and sharing some potential issues.

EDIT2: I found the culprit by accident. I had UPnP enabled on my router. I turned it off and my local speeds increased significantly, and my Plex library is available remotely. I don't know how or why UPnP is related, but that's what the solution was for me. Thanks again for all your input and support.

you are viewing a single comment's thread
view the rest of the comments
[–] funkajunk@lemm.ee 9 points 5 months ago (1 children)

Sounds like you don't have port forwarding setup.

I highly recommend setting up Nginx Proxy Manager and using it as a reverse proxy.

I have lots of services, but using a reverse proxy means I only have to expose 2 ports (80 & 443) and then I can serve whatever I want, like Plex, over https without a relay.

[–] mipadaitu@lemmy.world 2 points 5 months ago (1 children)

How do you set this up to forward properly? Do you use different domains for different services? like plex.example.com?

I currently have nginx set up to forward based on port, which is fine for me, but it could be a little better.

[–] funkajunk@lemm.ee 8 points 5 months ago* (last edited 5 months ago)

Yes, I use subdomains.

I pay for one domain name in Cloudflare (e.g. awesomedomain.com), and have a single "A" record pointing to the public IP of my server, and a single "CNAME" record with a value of * that points to awesomedomain.com.

That way, any subdomain gets directed to the server, and then you setup Nginx Proxy Manager to listen for certain subdomains and where to proxy them. No need to manage any further DNS records in Cloudflare, and any changes made on the proxy don't need any wait time for DNS records to propagate.

Nginx Proxy Manager also handles automatic SSL certs through Let's Encrypt - I really can't recommend it enough.