• 0 Posts
  • 3 Comments
Joined 9 months ago
cake
Cake day: February 14th, 2024

help-circle

  • nsfwpls@lemdro.idtoSelfhosted@lemmy.worldSelfhosted chat service
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    2 months ago

    Are you using a *.duckdns.com domain or is that only for Dynamic DNS pointed to something like jelly.domain.com? I’m not sure if you’ll be able to get a cert in the former scenario.

    Your router won’t let you access it because you’re trying to connect from your internal network to your external network, so you’re just connecting in a loop and not getting routed properly. This could work if you had a firewall that would let you set up a loopback NAT, but my guess is your router won’t let you setup NAT rules like that.

    You won’t be able to get a certificate using a local domain from a public certificate authority (like Let’s Encrypt). You would want to define the FQDN you want to use, like jelly.domain.com, and generate the certificate for this domain. You can do this manually with certbot and import the certificate to jellyfin, or put jellyfin behind a reverse proxy like Caddy or Nginx and let it handle automatic renewal for you.

    The local DNS entries would then redirect internal requests for jelly.domain.com to your local server, which presents the same certificate for jelly.domain.com regardless of whether you’re accessing it via the private or public IP.

    A bonus of using something like Caddy is being able to open a single port on your router for every service. I have multiple services all accessed via the same port, and Caddy just reads the requested subdomain (jelly.domain.com, nextcloud.domain.com, etc) to route the traffic to the corresponding local server. This lets it handle every cert for all services with no manual steps needed for any of them after the initial setup, and reduces your attack surface by only having one port open.


  • You could install OctoPi and use that camera feed. It’s a little overkill compared to motioneyeOS since it’s originally meant for monitoring and controlling 3D printers, but I’ve had better luck getting OctoPi to set up a camera feed than motioneyeOS, which was abandoned by the developer years ago.

    You could install it on the NUC, plug in a camera, and it should just work. Then use whatever remote access method you want, i.e. tailscale, port forwarding, VPN, etc.