Forum Discussion
Load balance related quistion
Is it possible to identify which client has accessing the server after passing through f5 load balance? or in other words can the application servers know from which client does the request come?
3 Replies
- IheartF5_45022
Nacreous
If the F5 is 'inline' - within the routing path between the client and server, then there is no reason the server would not see the real client address.
If however the F5 is not inline and you need to force server return traffic back to the F5 using a SNAT and you are talking about HTTP traffic, then you can insert an X-Forwarded-For header using the http profile. X-Forwarded-For will contain the original client source.
- Well said. Also good to know is that you will need a filter for IIS, configure Apache etc. to be able to log the header instead of the SNAT IP (if you use snat). /Patrik
- Night_67217Historic F5 Account
Hi,
If you don't use any type of SNAT towards your pool members, they will see the Client IP address connecting to them.
If you want to use SNAT and still have the back-end recognize the client address, you can use the X-Forwarded-For header with an HTTP profile. http://en.wikipedia.org/wiki/X-Forwarded-For
Hope this helps.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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