0

We have an asp.net application which deployed in head office of a bank. Employees of the bank are consumers of this application.

Employees of the bank are usually access this application using their computers which is connected to internet though a proxy server.

For auditing purpose we need all (at least one) ip-address assigned to their LAN-interface, when they login to the application.

I know there are some Server Variables which provides IP of client but they are only giving us IP of Proxy Server (external IP).

4
  • possible duplicate of Get Client IP using just Javascript? Commented Feb 23, 2012 at 18:16
  • its not that question is regarding the public ip address (external ip address) i am looking for internal machine ip address (LAN) Commented Feb 28, 2012 at 11:14
  • 1
    There is a link there that shows some ideas: gnucitizen.org/blog/javascript-address-info However, it does not work equally across all browsers. You generally don't have access to that OS-level information from Javascript. Commented Feb 28, 2012 at 12:58
  • Thanks @Joe: a very informative article. Commented Feb 29, 2012 at 13:39

1 Answer 1

2

It depends on the proxy but I believe the standard is to put the original client IP under the server variable called HTTP_X_FORWARD_FOR. Sometimes others are used HTTP_X_FORWARDED and HTTP_CLIENT_IP.

Sign up to request clarification or add additional context in comments.

1 Comment

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.