Restoring Visitor IP - Cloudflare Tunnel

I am using flask, no webservers ahead.
I see in logs 127.0.0.1 want to see visitor IP

Cloudflare will add the client’s IP address to the CF-Connecting-IP request header, so you’ll be able to get it from there. You’ll currently see 127.0.0.1 since you’ll be running cloudflared on the same host as your application, so the TCP connection is established from there locally.

1 Like