For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

G_04_148588's avatar
G_04_148588
Icon for Nimbostratus rankNimbostratus
Mar 25, 2014

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

  • 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.

     

    • Patrik_Jonsson's avatar
      Patrik_Jonsson
      Icon for MVP rankMVP
      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_67217's avatar
    Night_67217
    Historic 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.