Forum Discussion
Andy_Clark_1335
Nimbostratus
Jul 19, 2016Switch between default pool and another virtual server, per request
My CDN sends requests to public_vs, an external facing virtual server. public_vs sends the request to proxy_pool, a pool of proxy servers. The proxy servers make changes to the request and proxy it a...
Vijay_E
Cirrus
Jul 19, 2016You can do this for packets without "True-Client-IP": CDN -> public_vs -> application_pool
instead of doing this: CDN -> public_vs -> application_vs -> application_pool
You can use an iRule attached to public_vs that will send traffic without "True-Client-IP" to the application_pool. Use OneConnect with 255.255.255.255 netmask in order to preserve the client IP at the server level.
when HTTP_REQUEST {
if { [HTTP::header exists "True-Client-IP"] } {
pool proxy_pool
} else {
pool application_pool
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
