• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Reverse Proxy

     
    • 0 Vote(s) - 0 Average

    Reverse Proxy

    443 is not blocked but 80 is
    jawhett1
    Offline

    Junior Member

    Posts: 7
    Threads: 3
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #1
    2023-11-19, 03:22 AM
    My ISP blocks port 80 but not 443. I would like to use my duckdns url, in combination with caddy to reverse proxy the https connection. 443 is what uses https so I shoudln't *need* 80 right? 
    Or is my understanding mistaken?

    I currently use nordvpn's meshnet to access remotly but frankly its a bit slow and meshnet messes up my group messeges so I would prefer a more robust solution.

    I followed the guides:
    https://jellyfin.org/docs/general/quick-start/windows/
    &
    https://jellyfin.org/docs/general/networking/caddy

    So I have some background, but I dont know how to exactly set this up. Guidance would be appreciated.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2023-11-19, 05:27 AM
    You would need to get certs from LetsEncrypt. The process is fairly simple.

    https://caddyserver.com/docs/automatic-https
    https://jellyfin.org/docs/general/networ...tsencrypt/
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    jawhett1
    Offline

    Junior Member

    Posts: 7
    Threads: 3
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #3
    2023-11-19, 06:35 AM
    Caddy automatically gets the certs from letsEncrypt using Acme, right?

    Also this wording makes it seem like both 80 and 443 have to be open.

    "For public domain names:

    These are common requirements for any basic production website, not just Caddy. The main difference is to set your DNS records properly before running Caddy so it can provision certificates.

    If your domain's A/AAAA records point to your server,
    **ports 80 and 443 are open externally**,
    Caddy can bind to those ports (or those ports are forwarded to Caddy),
    your data directory is writeable and persistent,
    and your domain name appears somewhere relevant in the config"

    This makes it seem that they both have to be open no?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2023-11-19, 06:32 PM
    You know what. You are correct. Port 80 has to be open for the process.

    If you have a friend or family member with a different, and not dumb, ISP you could complete the process there. Change your DDNS address temporarily, complete the process, change your DDNS again.

    But you would need to do that every 3 months...hmmm. Mobile hotspot?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    uglytruck
    Offline

    Junior Member

    Posts: 3
    Threads: 0
    Joined: 2023 Oct
    Reputation: 0
    Country:United States
    #5
    2023-11-21, 10:47 PM
    I was always under the impression that if you were using a reverse proxy with a certification, the proxy is the one using 443.  I'm using nginx with letsencrypt and don't have any issues connecting at work (IT will not allow any http connections). Here's a video showing how to setup nginx & DuckDNS with Jellyfin, it's short and works.  https://www.youtube.com/watch?v=qlcVx-k-02E&t=648s
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2023-11-22, 02:17 AM (This post was last modified: 2023-11-22, 02:18 AM by TheDreadPirate. Edited 1 time in total.)
    A small portion of the process is http.  Has to be port 80.

       
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    d03j
    Offline

    Junior Member

    Posts: 4
    Threads: 1
    Joined: 2023 Nov
    Reputation: 0
    #7
    2023-11-23, 02:12 AM
    (2023-11-22, 02:17 AM)TheDreadPirate Wrote: A small portion of the process is http.  Has to be port 80.

    I think you can do a TLS-ALPN-01 challenge with certbot.

    Also, if you're using docker, traefik might be a better reverse proxy option and it ca manage duck DNS certs automatically for you (https://doc.traefik.io/traefik/https/acme/)
    AdamMeshnet
    Offline

    Junior Member

    Posts: 4
    Threads: 0
    Joined: 2023 Dec
    Reputation: 0
    Country:Poland
    #8
    2023-12-04, 11:11 AM
    (2023-11-19, 03:22 AM)jawhett1 Wrote: My ISP blocks port 80 but not 443. I would like to use my duckdns url, in combination with caddy to reverse proxy the https connection. 443 is what uses https so I shoudln't *need* 80 right? 
    Or is my understanding mistaken?

    I currently use nordvpn's meshnet to access remotly but frankly its a bit slow and meshnet messes up my group messeges so I would prefer a more robust solution.

    I followed the guides:
    https://jellyfin.org/docs/general/quick-start/windows/
    &
    https://jellyfin.org/docs/general/networking/caddy

    So I have some background, but I dont know how to exactly set this up. Guidance would be appreciated.

    Hi, jawhett1. Dropping by to ask a couple of questions about your Meshnet use. 

    You mention that it's a bit slow - I've been using it to access my Jellyfin server remotely for some time and can't really complain about the speeds. I know that I can get speeds up to 400MB with Meshnet. What exactly do yo mean by slow?

    As for the messaging app - what devices are you using with your Meshnet and what kind of messaging app? I have yet to come across such complain regarding Meshnet.
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode