No, it doesn't. You only get the ip from where the connection to the service originated. If the proxy added any headers, you can retrieve them via this.Request.Headers, but nothing forces the proxy to add any information about the client (and many don't,
for security reasons, so it's impossible for the server to find out the actual client IP).
Marked as answer by soernt on Feb 28, 2012 06:59 PM
CarlosFiguei...
Member
99 Points
19 Posts
Microsoft
Re: How to get the client IP address for the current controller call.
Feb 28, 2012 05:21 PM|LINK
No, it doesn't. You only get the ip from where the connection to the service originated. If the proxy added any headers, you can retrieve them via this.Request.Headers, but nothing forces the proxy to add any information about the client (and many don't, for security reasons, so it's impossible for the server to find out the actual client IP).