DVR iOS with NGINX

Hi,

I can now access my DVR install behind a reverse proxy at dvr.******.com

Is there anyway that I can access this through the iOS DVR app?

Thanks,
John

Reverse proxy is not recommended as it breaks the authentication mechanism. Are you using your own authentication in nginx, or can anyone who knows the url access your DVR?

I see, I don’t particularly wish to open ports 8089 as I have the entirety of my media server stack going through 443.

DVR specifically is currently protected using htpasswd.

One option is to have nginx add the header “X-DVR-ForceAuth: true” to the proxied request. Then you can remove the htpasswd (which the app has no idea how to deal with). You will be presented with an authorization form and will need to login using the authorization code from your dvr subscription account when accessing the web UI.

For the iOS app, you can click+hold the Authorize button and then copy the URL to change https://xxx.channelsdvr.net:8089 to https://dvr.xxx.com and navigate to it. Note that if you do this, the app won’t understand that you’re connected remotely and so you’ll have to change the Home Streaming Quality setting back and forth.

Honestly it’s much easier just to enable port 8089, but that’s up to you.

Sorry to dig up an old thread - but is this still possible? I can't seem to locate the Authorize button. When I click to connect to remote DVR, I get the options At Home and Away From Home - when clicking Away From Home, Safari opens to https://community.getchannels.com/... and I get the message to ensure port 8089 is open.

I found this thread with some additional details: Remote access on port other than 8089

I am in a situation where I can't port forward at all so I'm reverse proxying using a VPS. Is there the ability to specify a custom hostname/URL along with custom port?

Thanks

Would this also work with the Android app? I tried what you suggested and it seems to log me in, but it isn't able to start any streams. I get an error of "Couldn't parse URL: hdhrv2+dvr://[mycustomdomain]:-1/?device=........ invalid port ":-1" after host"

Not sure how to fix this. I'm currently using Nginx Proxy Manager.

May be a bug in Android then. Did you try the beta?

Yes, I'm on version 4.1.0.beta-v301031846. I had changed the url portion of https://xxx.channelsdvr.net:8089 to https://dvr.xxx.com like you recommended, and it seems to work fine to actually login remotely into the app, it's just starting streams that give me the same error as above. It seems that it's expecting a port number after the url.