Hi, I use python / flask and unfortunately I don’t know how to use this “tutorial” to get it done so that it finally shows the original data - not the Cloudflare ip addresses.
Try to get the HTTP Request Header of each request: namely CF-Connecting-IP.
Refer to this documentation: https://support.cloudflare.com/hc/en-us/articles/200170986-How-does-Cloudflare-handle-HTTP-Request-headers-
ok, what should i do exactly?
I’m not familiar with Python Flask, but I think this link may help you:
In this case, try replacing “your-header-name” to “cf-connecting-ip”, something like this:
request.headers.get('cf-connecting-ip')
This topic was automatically closed after 30 days. New replies are no longer allowed.