Forum Discussion

VikashC's avatar
VikashC
Icon for Cirrus rankCirrus
Feb 27, 2020

X-Forwarded-For not working

Hey,

 

I have one armed architecture and enabled SNAT in my environment. Now we have enabled X-Forwarded-For under http profile which attached on F5 virtual server. Somehow, it is not working. Any idea? If any thing missing from my end?

 

  • Hi  , have you done configuration on web server end? You need to do configuration on web server end also for extracting IP address from x-forwarded-for http header. I think, it seems to be missing here.

     

    Below link gives information on the configuration to be done on web-server end.

     

    https://support.f5.com/csp/article/K4816

     

    Hope it solves your problem. Please keep us updated.

     

    Mayur

  • Hi  , have you done configuration on web server end? You need to do configuration on web server end also for extracting IP address from x-forwarded-for http header. I think, it seems to be missing here.

     

    Below link gives information on the configuration to be done on web-server end.

     

    https://support.f5.com/csp/article/K4816

     

    Hope it solves your problem. Please keep us updated.

     

    Mayur

  • ​Oh I think, I missed it. Let me check provided link.

    Thanks for your response.

  •  

    ​Yo! It worked man. I did configuration at web server end and now it is working as expected.

    Thank you again. Appreciate your help.