Real ip
X-Forwarded-For is a HTTP header, HTTP is a layer 7 protocol. I never heard about X-Real-IP but according to the name I think this is an HTTP header too. If you want to modify this header for privacy, you're wrong as it does not mask your real IP which is the source of the TCP stream.