• 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 Any security issues with remote access? Caddy + Dynamic DNS

     
    • 0 Vote(s) - 0 Average

    Any security issues with remote access? Caddy + Dynamic DNS

    Help a new user identify security issues
    c2h6
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    #1
    2024-04-17, 12:17 PM (This post was last modified: 2024-04-17, 12:19 PM by c2h6. Edited 1 time in total.)
    Hey guys,

    I've been using Jellyfin for a year or so, and finally mustered up the courage to figure out remote hosting. I have it working now using a combination of DuckDNS (to resolve my dynamic DNS) + Caddy (reverse proxy).

    The thing is, I'm just a trained monkey following guides online. I know how everything works conceptually, but that's about it. I actually tried nginx for reverse proxy first but couldn't get the configuration right, and ended up following another guide that used Caddy - that's how clueless I am about networking.

    My jellyfin server is running off my main computer, and I'm worried about any potential security risks in exposing my computer to the Internet. Here's my configuration:

    - I have multiple users for Jellyfin but all of them don't have delete access (and are all password-protected). The only account with delete access is my Jellyfin admin account, and I disabled remote access for that account
    - Currently only have Jellyfin but I hope to figure out nextcloud some time in future (I just need to learn how to configure Caddy to different ports based on subdomains/URLs)
    - Router only has ports 80, 443 and another port (used by a torrent client) open. I've also changed the password to access my router's settings.

    Given the above, what's the worst that a bad actor could do? I'm hoping that if I set everything right, the only possible security issue (barring an exploit in the Jellyfin software) is that someone guesses one of my users' passwords and gets to watch my media library?

    Thanks!
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #2
    2024-04-17, 01:22 PM
    No hacker with any skill is going to bother going after us small fries. Only low effort script kiddies looking for unpatched Windows 7/XP machines.

    As long as you have Caddy in front of Jellyfin, use https with legit certs, keep everything up-to-date, and hide user names from the login screen you should be safe. If there is a hypothetical zero day someone could use to hack into your server, this hypothetical hacker is going to reserve that resource for mega corps and government agencies and not risk it on some dude running a Jellyfin server.

    One thing that a lot of people overlook are proper file folder permissions, mainly on Linux. Users have a tendency to just "777" everything instead of learning Linux permissions.
    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]
    c2h6
    Offline

    Junior Member

    Posts: 3
    Threads: 2
    Joined: 2024 Apr
    Reputation: 0
    #3
    2024-04-18, 01:16 AM (This post was last modified: 2024-04-18, 07:28 AM by c2h6. Edited 2 times in total.)
    Thanks! Yeah I figured a random guy's media server isn't really valuable - i don't have anything super illegal to hide so nobody's targeting me, but I don't want to run the risk of accidentally exposing my data drives and having my personal data/photos leaked, or having my computer used as part of some botnet.

    Regarding "use https with legit certs" - I read that Caddy uses https by default, is this true? Is there anything I can do to verify this - if i can access my own server remotely using https://my.dns.com (as opposed to http://), does that mean i've got the certs working correctly?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,375
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-04-18, 11:53 AM
    I don't use caddy (Nginx), but if you've enabled https it should automatically get legit certs from Let's Encrypt.
    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]
    « 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