X-Forwarded-For/X-Real-IP has no effect in the web gui

I have a reverse proxy for channels - nginx - and set X-Forwarded-For/X-Real-IP headers properly.

The IPs addresses in channels-dvr-http.log are logged in properly however the admin web UI shows 127.0.0.1 for the activity.

Watching ch7.1 from Client Device (127.0.0.1)

Pretty sure reverse proxies arent support and likely will never be...

1 Like

That's my understanding as well

https://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_bind

If you are running proxy on the default router on a platform allowing transparent bind you are in luck.

If you are running proxy on the same box as CDVR on linux you are little bit less lucky but you still can see the /24 of the client. The client IP of a.b.c.d becomes 127.a.b.c, so not all is lost, just the last octet.