You should be able to get real visitor ip, I think you would just get from a header x-real-ip, check cloudflare documentation .