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
}
}
Samir_Jha_52506
Dec 06, 2017Noctilucent
which type of value you store in MSISDN. update the sample here. I can see many irule related to MSISDN on devcentral.
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