I am trying to get real client IP with CF-Connecting-IP header. I noticed that sometimes it is returned IPv4 and sometimes IPv6. Is it possible to specify which IP version I want?
I would like to get both actually, something like this
CF-Connecting-IPv4 and CF-Connecting-IPv6. If the client has only one, then the second is empty, if the client has both, I want to get both.
for example, if I go to this website whatismyipaddress . com then I can see both IPs (IPv6 and IPv4).
Is it possible? I am not asking about Pseudo IPv4. I am asking how to get both IPs if the client has both IPs.