cancel
Showing results for 
Search instead for 
Did you mean: 
Login & Join the DevCentral Connects Group to watch the Recorded LiveStream (May 12) on Basic iControl Security - show notes included.

URI rewrite masking the requested port to user

Reginald_Sible1
Nimbostratus
Nimbostratus

Dev Central How do I mask the port in the browser to the user

 

*** UI Alias ***

http://sampletst.nu.com

https://sampletst.nu.com

80 ---> 443 - redirect

443 host header rewrite

from https://sampleotst.nu.com:9444/maximo/ui/maximo.jsp

from https://sampletst.nu.com:9445/maximo/ui/maximo.jsp

to host header rewrite to https://sampletst.nu.com/maximo/ui/maximo.jsp

4 REPLIES 4

Simon_Blakely
F5 Employee
F5 Employee

You need to use the BigIP as a reverse proxy, and apply a rewrite profile (or use a stream profile) to change the internal pool member URIs to the external URIs

 

AskF5 | Manual Chapter: Configuring the BIG-IP System as a Reverse Proxy Server

 

But could this also be done with an iRule?

Yes, but an iRule isn't always the easiest or most efficient way to do this.

 

The Rewrite Profile abstracts out the details of writing an iRule using the STREAM profile.

The rewrite profile will make your life easier.

But if you really want an irule example, the ProxyPass is the right one:

https://devcentral.f5.com/s/articles/proxypass-v10-v11