Forum Discussion

refra_151287's avatar
May 30, 2016

Change "X-Originating-IP" at Mail Header

Hi All, we're looking for an iRule to change the "X-Originating-IP" from F5 self IP (we enables Automap at this VS) to the client IP?

 

3 Replies

  • If you are trying to retain the original client IP, you can use the "Insert X-Forwarded-For" enabled in the HTTP profile.

     

  • Hi,

     

    I already tried it, it gave me some errors, last one was at outlook owa "HTTP Error 411. The request must be chunked or have a content length.", and I'm really newbie at iRules, so i just need something more simple to add a new filed at Mail Header with the Client IP, I tried some combinations but with no luck till now.

     

    • Vijay_E's avatar
      Vijay_E
      Icon for Cirrus rankCirrus
      I am not sure as I don't have access to the system. Have you looked into chunking here: SOL5379: Overview of HTTP chunking - https://support.f5.com/kb/en-us/solutions/public/5000/300/sol5379.html