I have a Dahua NVR with several cams setup. On my local network and using P2P QR code + iOS app all works well.
I want to use the UI of the NVR to manage IVS rules remotely. I can do this by connecting via a VPN setup to the local network of the NVR.
The problem is that very often the IP ranges are conflicting between my local network and the remote network (both using 192.168.1.x range. So that doesn't work.
I have configured a reverse proxy server (nginx) on my local network to have a (sub)domain.tld pointing to my NVR. This works well to approach the NVR and to use it in (for example) the iOS app (when manually connecting to the NVR insead of using the P2P QR code).
The problem is when trying to view camera images (or trying to configure IVS rues, hence viewing the camera images) via the NVR UI.
I get an error and a message wanting me to download a certificate file. I have tried installing the certificate file but I still cant get an image of the cams.
In my browser console I get an error having to do with the WebSocks connection using the "wss:/" URL scheme.
My reverse proxy only forwards "http://" or "https://" URL schemes.
I'm generating a valig SSL certificate via the reverse proxy for the NVR via Let's Encrypt.
Does anyone have any experience in configuring this type of setup?
I want to use the UI of the NVR to manage IVS rules remotely. I can do this by connecting via a VPN setup to the local network of the NVR.
The problem is that very often the IP ranges are conflicting between my local network and the remote network (both using 192.168.1.x range. So that doesn't work.
I have configured a reverse proxy server (nginx) on my local network to have a (sub)domain.tld pointing to my NVR. This works well to approach the NVR and to use it in (for example) the iOS app (when manually connecting to the NVR insead of using the P2P QR code).
The problem is when trying to view camera images (or trying to configure IVS rues, hence viewing the camera images) via the NVR UI.
I get an error and a message wanting me to download a certificate file. I have tried installing the certificate file but I still cant get an image of the cams.
In my browser console I get an error having to do with the WebSocks connection using the "wss:/" URL scheme.
My reverse proxy only forwards "http://" or "https://" URL schemes.
I'm generating a valig SSL certificate via the reverse proxy for the NVR via Let's Encrypt.
Does anyone have any experience in configuring this type of setup?