getting ip from proxy

I had a problem to get the ip from a proxy server.
I check this in my apps

request.env["HTTP_CLIENT_IP"]
request.env["REMOTE_ADDR"]
request.env["HTTP_X_FORWARDED_FOR"]
request.env["X_FORWARDED_FOR"]

but I get for the ip only unknown back.

can anyone help me?