Hi y’all, thanks for the help with my question yesterday. I did a bit of homework, and I think I’ve got things figured out. Here’s my revised plan:

  1. configure a cron job to update DuckDNS with my IP address every 5 minutes

  2. use ufw to block all incoming traffic, except to ports 80 and 443, to allow incoming traffic to reach Caddy

  3. configure the Caddyfile to direct traffic from my DuckDNS subdomain to Jellyfin’s port

Does this seem right this time? Am I missing anything, or unnecessarily adding steps? Thanks in advance, I’ll get the hang of all this someday!

you are viewing a single comment's thread
view the rest of the comments
[–] 14 points 1 year ago (7 children)

Wireguard or tailscale are much better ways of accessing jellyfin from outside your network.

  • source
  • parent
  • hideshow 7 child comments
  • [–] [S] 6 points 1 year ago (6 children)

    What if I want a bunch of people to be able to log into my library via Finamp?

  • source
  • parent
  • hideshow 6 child comments
  • [–] 3 points 1 year ago

    I use Nginx Proxy Manager and whitelist my remote users. They all have static IPs though, so its a workable solution for me.

    Before I used a whitelist I would go through the access logs, and could never find any attempts to exploit the endpoints - only some random bots trying to find some admin page assuming it was another service. Not saying you shouldn't take it seriously, but you are likely not subject to these attacks the moment you expose it.

    That said, there is a discussion about these endpoints on their repo. At some point they will be fixed (my impression is that they are hampered by legacy Emby code). When they do, you could do this more securely.

  • source
  • parent
  • [–] 4 points 1 year ago

    Provide them with VPN access. If that's too much for them, then they don't get access. Tough. On the scale of security vs convenience, that's nothing.

    If you really really want, you should at least see if you can put a WAF in front, and put the server itself somewhere it doesn't have access to the rest of your network (a DMZ) so that if and when it gets hacked, it doesn't compromise the entire network.

  • source
  • parent