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 address and not the user host address. Does anyone have any insight to get this task done? Or is there no way around this?
Thank you.
- Could you be a bit more specific on what you are trying to do? I'm assuming since you are using VS2005/C and you posted this on the iControl forum that you are using the iControl API and this is an iControl question.
- dianasy_22580
Nimbostratus
Hello 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.
- I believe the only way to have BIG-IP actually modify the client address is to setup a NAT.
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