Forum Discussion
roger_willis_78
Nimbostratus
Jun 10, 2009capturing IP Address
Forgive me in advance if I am in the incorrect area.
I am using VS2005/c and I am trying to request the user host address to log the users ip address to our database.
It logs our ip add...
dianasy_22580
Nimbostratus
Jun 29, 2009Hello Joe,
I could understand if you are doing log gathering on your backend server (Pool Member) and you are retrieving the BIG-IP's address instead of the true client address? If this is what you are running into, you might want to turn on X-Forwarded-For in your virtual server config. It will forward the client's true address in the X-Forwared-For HTTP request header.
From the statement above, do you have to modify the application to be able pick up this x-forwarded-for http request header? Since we do not use the apache webserver anymore instead we are using iRule to replace the plugin and have F5 point directly to our websphere portal cluster. I do not know to modify websphere to pick up the xforwarded-for IP. Is there any way to tweak F5 to pass the client address without any changes to application servers?
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