• 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 General Questions Can't access JF when on a VPN?

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Can't access JF when on a VPN?

    4r5hw45twh
    Offline

    Member

    Posts: 132
    Threads: 31
    Joined: 2024 Mar
    Reputation: 0
    #1
    2024-10-07, 05:07 PM
    So, I have everything setup and working. Can access JF just fine from outside my network. The problem I am having is when I access from a VPN, it won't load my subdomain site for it, nor on the app. How can I allow VPN's?
    foux
    Offline

    Junior Member

    Posts: 23
    Threads: 3
    Joined: 2024 Oct
    Reputation: 0
    #2
    2024-10-07, 06:10 PM
    This is definitevely not a Jellyfin issue if you can't access the website from your VPN.
    What VPN are you using? Is the VPN self-hosted at your place, or is it an external service? Is your DNS entry correct? Are you accessing via https 443 or via Jellyfin port (which might be blocked on your VPN)?
    4r5hw45twh
    Offline

    Member

    Posts: 132
    Threads: 31
    Joined: 2024 Mar
    Reputation: 0
    #3
    2024-10-07, 06:58 PM
    (2024-10-07, 06:10 PM)foux Wrote: This is definitevely not a Jellyfin issue if you can't access the website from your VPN.
    What VPN are you using? Is the VPN self-hosted at your place, or is it an external service? Is your DNS entry correct? Are you accessing via https 443 or via Jellyfin port (which might be blocked on your VPN)?

    ProtonVPN. I access JF through my subdomain, which is pointed to my server's public IP address (otherwise, I access locally on a local port). All works perfectly fine; just can't access it once I enable a VPN on a device but soon as it turns off, it works.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-10-07, 07:15 PM
    If you have ProtonVPN a PC, can you check if you can even resolve your jellyfin subdomain while connect to the VPN.

    I believe both Linux and Windows use "nslookup jellyfin.domain.tld" on the command line.
    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]
    4r5hw45twh
    Offline

    Member

    Posts: 132
    Threads: 31
    Joined: 2024 Mar
    Reputation: 0
    #5
    2024-10-07, 08:27 PM (This post was last modified: 2024-10-07, 08:34 PM by 4r5hw45twh. Edited 2 times in total.)
    (2024-10-07, 07:15 PM)TheDreadPirate Wrote: If you have ProtonVPN a PC, can you check if you can even resolve your jellyfin subdomain while connect to the VPN.

    I believe both Linux and Windows use "nslookup jellyfin.domain.tld" on the command line.

    On the same PC that's running the server I get:

    Code:
    Server:  UnKnown
    Address:  (local IP)

    Non-authoritative answer:
    Name:    mysite.com
    Address:  (My Home Public IP)
    Aliases:  jellyfin.mysite.com

    Like, on the server PC, I always have my VPN on anyway, but I can still always access JF on that PC. Just not any other devices when on a VPN (which is honestly weird because I watched on my FireStick for like 4hrs last night while on my VPN network...).
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #6
    2024-10-07, 08:36 PM
    Preferably from a different PC.

    Also, you said you started using Nginx, right? Can you share your full nginx config via pastebin? Censor the domain name.
    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]
    4r5hw45twh
    Offline

    Member

    Posts: 132
    Threads: 31
    Joined: 2024 Mar
    Reputation: 0
    #7
    2024-10-07, 08:41 PM (This post was last modified: 2024-10-07, 08:44 PM by 4r5hw45twh. Edited 2 times in total.)
    (2024-10-07, 08:36 PM)TheDreadPirate Wrote: Preferably from a different PC.

    Also, you said you started using Nginx, right?  Can you share your full nginx config via pastebin?  Censor the domain name.

    I ditched NGINX for Caddy. Caddy "just worked" for me. Could never really fully get NGINX to for me reliably.

    Should I be enabling split tunneling on my server VPN and pointing my domain A record to the VPN's IP? That would create a tunnel, right? Or no? My Caddyfile is simply:

    jellyfin.mysite.com

    reverse_proxy 127.0.0.1:PORT
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-10-08, 12:14 AM
    That essentially defeats the purpose of having a reverse proxy with https. But you do need to setup split tunneling so that Caddy is not tunneled.
    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]
    4r5hw45twh
    Offline

    Member

    Posts: 132
    Threads: 31
    Joined: 2024 Mar
    Reputation: 0
    #9
    2024-10-08, 12:55 AM
    (2024-10-08, 12:14 AM)TheDreadPirate Wrote: That essentially defeats the purpose of having a reverse proxy with https.  But you do need to setup split tunneling so that Caddy is not tunneled.

    Darn, that's like the one thing I didn't try yet, but still didn't work. Kept everything how I had it and just added caddy.exe to the excluded list but same thing.
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-10-08, 02:37 PM (This post was last modified: 2024-10-08, 02:38 PM by TheDreadPirate. Edited 1 time in total.)
    It really isn't that complicated to get this to work. There has to be something you aren't mentioning.

    CF subdomain CNAME -> CF domain A/AAAA record for public WAN IP -> router port forwards https 443 -> Caddy -> jellyfin 8096

    Things that can break this:
    - Misconfigured DNS/adblocker/pihole
    - Incorrect public IP
    - CGNAT
    - VPN not configured to split tunnel
    - Misconfigured default route
    - Incomplete IPv6 setup. ISP, router, host, jellyfin all need to support IPv6 and have it enabled.
    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]
    Pages (2): 1 2 Next »

    « 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