Forum Discussion
kazeem_yusuf1
Dec 06, 2017Nimbostratus
AN IRULE THAT PERFORMS HEADER ENRICHMENT AND SENDS TRAFFIC TO A Specific IP (MMSC)
I have a requirement to forward mms traffic to a specific mmsc, and perform header enrichment.
I have an irule to forward traffic to a specific ip address. What irule can be used to combine that...
Samir_Jha_52506
Noctilucent
Q. Do you want to add client ip in header or specific words? if client IP then follow below irule.
Please test it in your environment and let us know if any issue.
when HTTP_REQUEST {
if { [HTTP::host] equals "10.199.212.15" && [HTTP::uri] equals "/servlets/mms"} {
HTTP::header remove X-Forwarded-For
HTTP::header insert X-Forwarded-For [IP::client_addr]
pool mmsc_pool
}
}
kazeem_yusuf1
Dec 06, 2017Nimbostratus
Thank You f5_rock, The header enrichment i want to perform is to reveal the MSISDN information. Can it be achieved
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects