Forum Discussion
rohitbarolia_28
Mar 20, 2019Nimbostratus
Capturing source IP addresses for VIP
Is it possible if we can capture all the source IP that are hitting our VIPs.
- Mar 20, 2019
Yeah, You can capture client IP address via iRule or X-Forwarded-For.
For more information go through below F5 Article.
Option 1: X-Forwarded-For HTTP header K4816
Option 2: iRule
when HTTP_REQUEST { log local0. "clientIP:[IP::client_addr] accessed [HTTP::host][HTTP::uri]" }
Hope your issue will be solved..
M_2
Mar 20, 2019Altocumulus
HI,
Yes it is possible to capture the soruce Ip addresses hitting the vip using irule, in case if you want to see it on the backend server (running http), you can try enabling XFF (X-Forwarded-For) option to see the cient IP in headers at server side (webserver.)
-M@rcus
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