Forum Discussion
David_T_254046
Mar 21, 2016Nimbostratus
F5 APM Single IdP for Multiple SP's (Redirect External VIP to Internal VS's)
Hey there F5 community,
I've been trying to wrap my head around this one to see if it is possible, and may be looking at this under the wrong light...
We are trying to setup an environment such a...
Yann_Desmarest_
Nacreous
Hello,
I suggest to define your IDP as internal VS also. Then, you configure a public VS targeting all others (SP and IDP) using your irule :
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
"app1.domain.com*" { virtual app1.corp.domain.com }
"app2.domain.com*" { virtual app2.corp.domain.com }
"idp.domain.com*" { virtual idp.corp.domain.com }
default { reject }
}
}
I suggest adding a wildcard at the end of the hostname because sometimnes you will have request targetint "app1.domain.com:443" for example.
You should also define a default behavior.
Manuel_Cristob3
Jul 14, 2017Nimbostratus
hi David were you able to find an answer ( that you can share) for your issue? Much appreciated ..
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