Forum Discussion
Ger_Hackett_323
Nimbostratus
Aug 11, 2011Display client source address
To aid the diagnosis of a connectivity issues, I need to use a HTTP::respond to display the client’s IP address.
I’ve tried the code below in an iRule, but the [IP::clie...
Michael_Yates
Nimbostratus
Aug 11, 2011Hi Ger Hackett,
Try this (It is a little fluffed with extra formatting, but works fine):
when HTTP_RESPONSE {
HTTP::respond 200 content "
Client IP Address
Client Identifier
Your IP Address is: [IP::client_addr]
"
}
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