Setup a Reverse Proxy that redirects to internal port
Hello All, I am very new to F5 and trying to setup a reverse proxy.
My goal is have a VS that is open publicly on port 443 and have it redirect to backend server that's listening on 8443. I have tried creating a policy that match HTTP header -->Host that matches a public URL then do the following.. forward traffic to node with ipaddress:8443. I have tried going to pool that has member going to port 8443. I tried an iRule
when HTTP_REQUEST {
HTTP::redirect "https://[getfield [HTTP::host] ":" 1]:8443[HTTP::uri]" however only 443 is open externally
}
I'm not sure what I am missing or to search for. I used a Kemp Load balancer and was regex to do reverse proxy to a VIP.
Any help would be grealty appreciated.
I think I got it working. I changed to advance and enabled port translation and seems to be working.