reverse proxy connections calling IP rather than FQDN

Jinksy

n3wb
Oct 25, 2020
3
0
UK
Hi,

I have a Hikvision NVR that im trying to front with an Azure Application Gateway v2, the issue I'm facing is that the live view is not working, a packet capture shows the initial request using the correct FQDN, when I click live view it seems to want to request the gateways public IP address which does not get routed to the right back end, the issue seems to be appear when the request is for "/SDK/play"

The back end settings are set to override the hostname with the FQDN from the backend target.

If there any way of fixing it?

Code:
GET /SDK/play?modelErrorCode=true&token=eLuV1ZWK5a+tAoiB2uB5G5+w4N4OKktr841e3NPddPfIqgYAAAAAAA== HTTP/1.1
HOST: 51.114.240.173
User-Agent: NS-HTTP/1.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*.*;q=0.8
Accept-Language: ZH-cn;zh;q=0.5
Accept-Charset: gb2312,utf8;q=0.7,*;q=0.7
Connection: keep-alive
Content-Type: application/octet-stream
Content-Length: 44