Forum Discussion
redirecting from one VS to another
Hello,
I have searched the forums and found little relating to this, as I am sure this is a bit of a unique situation.
I have two sites to be hosted behind our F5, each needing a different virtual server configuration to work properly. I have two URLs that connect to the same IP(scmdev.xx.xx.xx and scmssodev.xx.xx.xx) and the way the current configuration is we have TMG doing the redirect depending on the URL requested.
Being that I need to have two drastically different VS's on the F5 to make the sites work, I am wondering how to creat a central VS to redirect to the correct VS depending on the URL requested. I am trying to use the following iRule:
when HTTP_REQUEST {
switch [HTTP::HOST] {
scmdev.xxx.xxx.xx { virtual NAME_OF_VSERVER1 }
scmssodev.xxx.xxx.xx { virtual NAME_OF_VSERVER2 }
default {reject}
}
}
I know that this rule works when I use pool NAME_OF_POOL instead of virtual,so I am stumped as to why it cant do this to a another local VS? I have the central server setup for proxy on both SSL profiles, but when I try to connect it just shows me that the page doesnt exist, basically like it has nowhere to go. Any help on this would be greatly appreciated.
- Kevin_StewartEmployeeCan you access the internal virtual servers directly to test?
- Dimesio_91168NimbostratusYes, when connecting to the virtual servers individually I am able to use them to get to my websites. SNAT is also enabled for the internal VS's
- Dimesio_91168NimbostratusYes, when connecting to the virtual servers individually I am able to use them to get to my websites. SNAT is also enabled for the internal VS's
- Dimesio_91168NimbostratusYes, when connecting to the virtual servers individually I am able to use them to get to my websites. SNAT is also enabled for the internal VS's
- Kevin_StewartEmployeeAre the internal virtual servers HTTPS?
- Dimesio_91168NimbostratusI have SSL profiles for the external VS on both client and server side, and set up the profiles to "Proxy SSL" in the advanced settings, from what I understand this basically does a pass-through of SSL session variables to the server I'm forwarding to, unless that is only for actuall nodes not on the F5 itself?
- Dimesio_91168NimbostratusI have SSL profiles for the external VS on both client and server side, and set up the profiles to "Proxy SSL" in the advanced settings, from what I understand this basically does a pass-through of SSL session variables to the server I'm forwarding to, unless that is only for actuall nodes not on the F5 itself?
- Kevin_StewartEmployeeAhh. ProxySSL allows a client and back end server to communicate directly, exchanging keys, while the BIG-IP transparently negotiates the same keys. If your back end server is also SSL, this method won't work because a) the internal virtual server is essentially in the way, and b) I don't believe you can "stack" ProxySSL configs.
- Dimesio_91168NimbostratusI dont think I understand what you mean by terminating the traffic...
- Kevin_StewartEmployeeProxySSL is a mechanism that allows the BIG-IP to "man-in-the-middle" the SSL key negotiation between the client and server. As such that negotiation has to be able to happen without any interference. I haven't verified this, but i'm also assuming you can't "stack" ProxySSL profiles in a VIP-targeting scenario. ie:
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