Forum Discussion
RonMexico_79057
Nimbostratus
Aug 18, 2017Using X-Forward-For to forward origin ip and username
Using X-Forward-For to forward origin ip and username
Hello All,
Hoping the F5 (fam) community can help me out on this. We have user accounts getting compromised through our password manager and we'd...
Stanislas_Piro2
Cumulonimbus
Aug 18, 2017Hi,
X-Forwarded-For is a header to insert only IP address (there is no Standard about this header, so you can put whatever you wan in the header, but ...) so I added a new header.
Do you use APM?
If Yes, you can forward the username with the irule:
when HTTP_REQUEST {
HTTP::header insert X-Forwarded-For [IP::remote_addr]
HTTP::header insert Username [ACCESS::session data get session.logon.last.username]
}
you can also do it with Per-request policy instead of irule.
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