![]() |
DDNS with Caddy as a reverse proxy server - Printable Version +- Jellyfin Forum (https://forum.jellyfin.org) +-- Forum: Support (https://forum.jellyfin.org/f-support) +--- Forum: General Questions (https://forum.jellyfin.org/f-general-questions) +--- Thread: DDNS with Caddy as a reverse proxy server (/t-ddns-with-caddy-as-a-reverse-proxy-server) Pages:
1
2
|
DDNS with Caddy as a reverse proxy server - Swindiff - 2025-02-23 Hi I have managed to get Caddy working as a reverse proxy server, and all working well so far. I have a DDNS hostname via NO-IP. From what I have read I need to set it up to work with the dynamic_dns plug-in. AI Answer To set up DDNS (Dynamic DNS) with Caddy, you can use the built-in "dynamic_dns" module which automatically updates your DNS records with your current public IP address, making it particularly useful when your IP address changes frequently; essentially, you configure Caddy to periodically check your IP and update the DNS record with your provider if it changes. My current script is very simple like this mydomainname.hopto.org { encode gzip reverse_proxy localhost:8096 } I have tried adding this to my script (with my own credentials) { dynamic_dns { provider noip { username "your_noip_username" password "your_noip_password" hostname "yourdomain.no-ip.info" } domains { "yourdomain.no-ip.info" } } } But I get this error Windows could not start the caddy service on local computer The service did not return an error. This could be an internal Windows error or an internal service error. Can anyone tell me where I am going wrong Many thanks RE: DDNS with Caddy as a reverse proxy server - pxr5 - 2025-02-24 If you look at this thread and my last post, I struggled with this too. I was hoping Matt (the original OP of that thread) could come back and help me out. But I'm sorry to say I simply gave up using 'caddy-dynamicdns' and found another, much simpler, way - and that was to my Synology NAS to update the DNS entries. Of course there are many other ways to automatically update DDNS; it's just a matter of finding one that works for you. https://forum.jellyfin.org/t-access-your-jellyfin-anywhere-with-caddy RE: DDNS with Caddy as a reverse proxy server - TheDreadPirate - 2025-02-24 No-IP has their own IP address update tool that I recommend you use over having Caddy do it. The Caddy update function is better used with services that don't have separate tools for updating IPs. Like Cloudflare. Revert to your previous caddyfile and install No-IP's client. RE: DDNS with Caddy as a reverse proxy server - Swindiff - 2025-02-24 Thankyou so much. I wish I had posted here earlier. I spend most of the day yesterday pulling my hair out lol RE: DDNS with Caddy as a reverse proxy server - Swindiff - 2025-02-24 Another question while I am here. Is it possible to use DDNS hostnames rather than explicit IP addresses in the whitelist for allowed network connections within Jellyfin? I would like to create a whitelist for my families IP addresses, but if their IP address changes they would no longer be able to connect. I think I know the answer, just wondering if this is even technically possible Cheers RE: DDNS with Caddy as a reverse proxy server - Swindiff - 2025-02-24 I am trying to make my server as secure as possible, so another option is limiting access to user accounts to specific devices. I created a test account and unchecked all devices, but I can still access it on my phone. Is that because I have used my phone to access my own account previously? Also if no devices are checked for a new user, is there any sort of notification and approval process for having access on a new device? Many thanks RE: DDNS with Caddy as a reverse proxy server - Swindiff - 2025-02-24 Just tested with a web browser on another PC. If I try to log into the test account it refuses, as expected. If I then log into my account and log out, then try the test account again, it lets me log in. Is this expected behaviour, or a bug? RE: DDNS with Caddy as a reverse proxy server - TheDreadPirate - 2025-02-25 I am not sure if DDNS addresses get resolved in that field. Hypothetically, if it did resolve DDNS addresses, I'm not sure it would dynamically update the filter without requiring a restart of Jellyfin. Regarding the device access restrictions, from the setting's comment. Quote:This only applies to devices that can be uniquely identified and will not prevent browser access. Filtering user device access will prevent them from using new devices until they've been approved here. I'll experiment with it a bit later today and get back to you. I've never used the feature myself. RE: DDNS with Caddy as a reverse proxy server - Swindiff - 2025-02-25 Many thanks again 😁 RE: DDNS with Caddy as a reverse proxy server - TheDreadPirate - 2025-02-25 Definitely seems like a bug. Search our git for an open ticket (I see a couple old tickets), if no open ticket exists you should submit a bug report. https://github.com/jellyfin/jellyfin/issues |