Forum Discussion
Pav_70755
Nimbostratus
Apr 20, 2011I-rule to re-direct page back to source IP address?!
We have a site that is hosted through our F5 and it has a page which returns the users IP address so the source ip of the user accessing the site but the IP that is being returned is the floating IP o...
Colin_Walker_12
May 04, 2011Historic F5 Account
Well, technically, with an iRule couldn't you write whatever you want into a header named...whatever you want? (X-forwarded-for included)
I'm not saying the other systems would know what the heck to do with it, but I would think you could get there:
when HTTP_REQUEST {
HTTP::header insert X-Forwarded-For [IP::local_addr]
}
You might need to use header replace instead if it's already getting put in somewhere else along the line.
Colin
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