Forum Discussion
redirect an external https request to an internal website and append a URI
Hi All
I have a website that is to be accessed from external to my network. the request will hit my F5 in the DMZ and then be reversed proxied to an internal F5. This internal F5 will then load balance to a set of webservers and then a uri will be appended so that it can hit a specific page.
I have tried the redirect irule but this just send the redirect to external source who then cannot process the redirect because it is not accessible directly outside.
the flow is as follows 1. External user types in webpage address e.g https://test.company.com 2. This hits a virtual ip in my DMZ e.g 1.1.1.1 3. This reverse proxies to a virtual ip hosted on my internal F5 e.g 2.2.2.2 4. this then load balances to 2 webservers e.g 3.3.3.3 and 4.4.4.4 and appends a uri /login
Any ideas on how to achieve this
- JinshuCirrus
Can you keep your DMZ VIP settings and try below iRule in Internal F5 VIP?
when HTTP_REQUEST { if { ([string tolower [HTTP::uri]] equals "/")} { HTTP::uri "/login" } }
-Jinshu
- MrwillbaclimonAltocumulus
What about something like this?
Redirect TLS 1.1/1.2 clients & Append the incoming... - DevCentral (f5.com)
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