cancel
Showing results for 
Search instead for 
Did you mean: 

iRule Redirect with URL Masking

Xaveri
Nimbostratus
Nimbostratus

Hello,

 

Can someone please tell me if it is possible to achieve the scenario I am trying to accomplish using iRule?

 

We are currently using a SaaS-based application which has a weird URL and it is not easy to remember (e.g. https://214124124.sdsddasd.com:10020). What I am looking to achieve is that when a user enters the URL https://mytestsite, it should be able to redirect to the SaaS-based application without changing the URL in the address bar. It should stay mytestsite.

6 REPLIES 6

Karthick1
Cirrus
Cirrus

If you don't want to change the url mytest, you can use apm and add the saas based url as portal

SanjayP
MVP
MVP

You can use proxypass iRule to achieve this. Please take a look at below discussion

 

https://devcentral.f5.com/s/question/0D51T00008zPVXjSAO/url-rewriteproxypass-functionality?page=1

Xaveri
Nimbostratus
Nimbostratus

  Please note that the destination is running on https://mytestsite:10020. Is it possible to redirect on non-HTTP(s) port?

SanjayP
MVP
MVP

Yes. You don't need to give port in client URL, users can access  https://mytestsite. I hope you own the domain for  mytestsite and VIP for it is configured on your F5. You would need to create a fqdn pool for the destination "214124124.sdsddasd.com" , port 10020 and map this to the mystestsite VIP. F5 will do the port translation. Use proxypass iRule mentioned in the above discussion to rewrite HOST header. Hope this helps.

Xaveri
Nimbostratus
Nimbostratus

Mytestsite is just an entry in our internal DNS mapped to an IP address.

SanjayP
MVP
MVP

well, then you would need to bring it on F5 to use F5 features.