How to shorten and mask an Internal URL for External Users and Access
This article will cover the process for converting the HOST and PATH for an external URL with the HOST and PATH for the internal server while still masking the internal URL to the external client.
Is it possible to convert an External URL into a Internal URL while still keeping the Internal URL hidden or masked to the external client.
|Steps to Reproduce:
|The internal URL is too long for external publication and there is a requirement to keep the internal URL hidden for external clients.
Two content rules are needed:
External URL: exteranl.url.com
Internal URL: internal.url.local/Directory/Folder/Path
From LoadMaster menu go to
Advanced Properties --> HTTP Header Modification --> Show Header Rules --> Request Rules --> Add both rules.
An unencrypted PCAP can be taken on the LoadMaster to verify that the content rules are working as intended.
In the below screenshot it can be observed that the referrer header contains the clients request external URL of "https://external.url.com/" but that the host header has not been changed to the host for the internal URL of "internal.url.local"
Since this change occurs on the LoadMaster for the clients request bound to the server, it remains invisible to the client and their browser.
Content Rule Guide: