Learn F5 Technologies, Get Answers & Share Community Solutions Join DevCentral

Filter by:
  • Solution
  • Technology
Answers

SNAT source ip address in http header

Hi,

Is it possible with an irule to let the BigIP put the SNAT source ip address in a http header? We have an application that would like to know where packets are coming from, as to identify which VIP is being used. The SNAT source ip can ofcourse be found in IIS but the application can't fetch it there. It can however read http headers.

Thanks,

Erik

0
Rate this Question

Answers to this Question

placeholder+image
USER ACCEPTED ANSWER & F5 ACCEPTED ANSWER

Hi, You can try into the HTTP_REQUEST_RELEASE event.

when HTTP_REQUEST_RELEASE {
    HTTP::header insert X-SNAT-ADDRESS [IP::local_addr]
}

Regards.

0