Hello, All.
I am in a crunch here and new to iRules. I need to be able to rewrite our internal server FQDN to our external FQDN Domain Name outgoing to the client. This will ensure that the internal DNS name is not compromised to the outside world. This needs to be added to an existing iRule I have created that redirects the requests to a specified pool.
i.e. myserver.inside.com to outsidename.outside.com
Any assistance would be greatly appreciated.
Where is it you need to be able to re-write this, in the packet payload, or in the Location header?
Thanks,
Colin
The problem is that SAP has embedded links in the Java Stack that expose our internal server names. When a request from the outside world comes in and something is “clicked” on that response back to the client now has our internal server name.dns.com associated with thus failing the client connection. SAP wants us to rewrite the url at the BigIP from internal DNS to our outside facing FQDN URL. I believe this needs to be in the response in one of my current iRules assoicatied with that Virtual Server, but I do no know.
You can use the STREAM profile, or if you like to use iRules you can try something like this:
when HTTP_RESPONSE {
STREAM::enable
STREAM::expression "@myserver.inside.com@outsidename.outside.com@"
}
Solution 8115