trusted-cgi icon indicating copy to clipboard operation
trusted-cgi copied to clipboard

Enhancement - Detecting Remote IP from behind reverse proxy

Open c-nv-s opened this issue 4 years ago • 3 comments
trafficstars

If you have the trusted-cgi running behind a reverse proxy then the Remote IP address detected will be the internal IP address of the reverse proxy.

Is it possible to detect the client IP address using the Request Header Value e.g. X-Forwarded-For This is usually the header that the proxies pass on to the backend server so they are aware of the original client IP address.

c-nv-s avatar Mar 04 '21 12:03 c-nv-s

@reddec did you manage to progress this at all?

c-nv-s avatar Nov 30 '21 01:11 c-nv-s

@c-nv-s Thanks for pinging! I am sorry but I didn't find free time for it yet. Just in case you will find a moment to do it by yourself, the PR should be trivial (except the new behavior should be enabled explicitly to avoid headers spoofing).

reddec avatar Nov 30 '21 02:11 reddec

@reddec re-pinging. Any chance you can revisit this request

c-nv-s avatar Aug 10 '22 08:08 c-nv-s