NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
1 2 3 4 5 … 43 Next »
Remote access using Caddy

 
  • 0 Vote(s) - 0 Average
Remote access using Caddy
Swindiff
Offline

Member

United Kingdom
Posts: 86
Threads: 9
Joined: Apr 2025
#1
2025-04-27, 09:51 AM
Hi
I currently use Caddy as a reverse proxy to access Jellyfin remotely.  I have configured NextPVR to work with Jellyfin, unfortunately the playback and recording via the Jellfin plugin are a bit clunky, and I get regular crashes of Jellyfin.  NextPVR works so much better in Kodi, but I would also like to be able to remote access.

My original Caddyfile to access Jellyfin remotely is

MyDomain {
encode gzip
    reverse_proxy localhost:8096
}

I tried to change it to

MyDomain {
encode gzip
    reverse_proxy localhost:8096
    reverse_proxy localhost:8866
}

I though If I typed the domain with the port it would give me access to NextPVR, but I just get "this site can't be reached"

I then tried

MyDomain:8096 {
encode gzip
    reverse_proxy localhost:8096
}
MyDomain:8866 {
encode gzip
    reverse_proxy localhost:8866
}

This stops my Jellyfin server from starting

Any suggestions?

Thanks
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,792
Threads: 954
Joined: May 2006
#2
2025-04-27, 01:48 PM
I don't know Caddy but NextPVR works with a reverse proxy. Did you try a forum search for Caddy I saw another post that might help and got it working.

If Caddy is running on a different IP meaining localhost won't work, you do have to enable remote connects on web settings plus change the username, password and PIN from defaults.

Martin
Swindiff
Offline

Member

United Kingdom
Posts: 86
Threads: 9
Joined: Apr 2025
#3
2025-04-27, 02:02 PM
Hi Martin
I have changed username, password and Pin. Caddy is running on the same PC as both Jellyfin Server and NextPVR. I did some googling for running multiple applications on the same caddyfile and those 2 examples are what I found, neither seem to work. So with my setup I don't have to enable remote connection, because traffic is coming from Caddy which is local NextPVR. I thought that would be how Jellyfin would work, but no, I had to enable remote connections for that.
Thanks
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,792
Threads: 954
Joined: May 2006
#4
2025-04-27, 02:10 PM
If the post from the forum search (not Google) didn't help then there is not much I can add. Reverse proxy take away all security that NextPVR provdes since it will all be localhost and I will leave it to you to secure things.

Martin
Swindiff
Offline

Member

United Kingdom
Posts: 86
Threads: 9
Joined: Apr 2025
#5
2025-04-27, 02:23 PM (This post was last modified: 2025-04-27, 02:23 PM by Swindiff.)
How would you suggest is the most secure way to set up remote access to NextPVR?
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,792
Threads: 954
Joined: May 2006
#6
2025-04-27, 02:37 PM
I don't make recommendations on home security or hardening of NextPVR users can still configure things badly. Since the reverse proxy removes all NextPVR's checks you have to trust Caddy and router security and if you feel that isn't good enough for you VPN's would be the way to go. I think your browser search will find lots of hits about using Tailscale with Caddy.

Martin
Swindiff
Offline

Member

United Kingdom
Posts: 86
Threads: 9
Joined: Apr 2025
#7
2025-04-27, 06:38 PM
Sub actually recommends reverse proxy for remote access here

https://forums.nextpvr.com/showthread.ph...#pid542529
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,792
Threads: 954
Joined: May 2006
#8
2025-04-27, 09:07 PM
If you read that thread a little a few posts further he notes a VPN too, I don't see either post as a recommendation.

Anyway feel free to do what you want with your home network, it is not a NextPVR issue.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 3 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Access to the path C:\Users\Public\NPVR-Data\media\shows is denied. rv0987 4 955 2022-12-28, 03:07 PM
Last Post: mvallevand
  Keep Awake During Remote Viewing of a Recording DarkJediTL 13 2,302 2022-05-25, 09:58 PM
Last Post: mvallevand
  remote access is not enabled Abdul Rauuf 8 2,212 2022-02-07, 03:19 PM
Last Post: Abdul Rauuf
  Black Screen. trying to access any live tv Halls9999 5 1,724 2021-07-06, 03:37 PM
Last Post: Halls9999
  Unable to connect to remote server hootie318 5 2,759 2021-06-28, 02:33 PM
Last Post: hootie318
  Remote access - securely Ricknextpvr 7 3,507 2020-06-16, 07:52 PM
Last Post: Ranbato
  System.Net.WebException: The remote server returned an error: (401) Unauthorized. benj180 6 2,158 2020-05-01, 05:22 PM
Last Post: Graham
  Ability to use cert for https access on web UI? pdc 2 1,289 2020-02-01, 05:21 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode