Forum Discussion
LTM - X-Forwarded-for - Policy - Route domain id
Hello!
We have a virtual server with policy that add some extra headers to the http head. For exaple X-forwared-for. The http header is checked in the pool members and we see the route domain id after the X-forwared-for client IP.
How can we hide the route domain id in the F5?
Policy that assign to the virtual server:
ltm policy /PART_1/LTMPOL-HTTP-HEADER-INSERT {
last-modified 2020-04-02:10:18:52
requires { http }
rules {
HTTP-HEADER-INSERT {
actions {
0 {
http-header
insert
name X-Real-IP
value tcl:[IP::client_addr]
}
1 {
http-header
insert
name X-Forwarded-For
value tcl:[IP::client_addr]
}
2 {
http-header
insert
name X-Forwarded-Proto
value https
}
}
}
}
strategy /Common/first-match
}
Regards,
Gyuri
value tcl:[getfield [IP::client_addr] % 1]
Recent Discussions
Related Content
* 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