Forum Discussion
David_Raimist_1
Nimbostratus
Jul 07, 2006Looking for help with Incoming IP address within
We are utilizing a "one arm router" config and the remote IP address is coming from the LB. We are using "Insert XForwarded For" in the profile and F5 isapi filter to write the original/incoming IP a...
David_Raimist_1
Nimbostratus
Jul 07, 2006Thanks Aaron. I was able to find what I needed. I found the following code that allowed me access to the x_forwarded IP address. Here is what I found:
Dim sIPAddress
sIPAddress = Request.ServerVariables("HTTP_X_FORWARDED_FOR")
If sIPAddress="" Then sIPAddress = Request.ServerVariables("REMOTE_ADDR")
So, the HTTP_X_FORWARDED_FOR server variable seems to contain the original IP Address.
Thanks again,
david
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects