CDN manufacturers will add the customer's real ip to the two headers on generally .
X-Forwarded-For or CF-Connecting-IP headers
If you need to get in php you can take these two variables
$_SERVER["HTTP_CF_CONNECTING_IP"]
$_SERVER["HTTP_X_FORWARDED_FOR"]