Set URL.Host in Reverse HTTPS Proxy
When client requests are redirected to the appliance by DNS entries in a reverse HTTPS proxy configuration, you need to set the IP address of a web server as values of the URL.Host property to let the appliance know where to forward requests to.
After filtering a request has led to the result that it is allowed, the appliance uses the URL.Host property that was submitted with the request to forward it to the requested web server.
When requests are redirected according to DNS entries, web servers are known to the appliance by their IP addresses. If the URL.Host property has the IP address of a web server as its value, the appliance forwards the request to the appropriate destination.
Setting the value of a URL.Host property to an IP address can be done by a rule. You need to create such a rule for each web server that the appliance should forward requests to.
These rules can be contained in a rule set of their own.
Create a rule set for setting the URL.Host property
You can create a rule set with rules that set the IP address of a web server as the value of the URL.Host property.
- Select Policy | Rule Sets.
- On the rule sets tree, navigate to the position where you want to insert the rule set.
- Above the tree, click Add and select Rule Set.
The Add New Rule Set window opens. - Under Name, enter a suitable name for the new rule set, for example, Set value of URL.Host to IP address.
- Make sure Enable is selected.
- Under Applies to select Requests and IM.
- Under Apply this rule set, select Always.
- [Optional] Under Comment, type a plain-text comment on the rule set.
- [Optional] Click the Permissions tab and configure who is allowed to access the rule set.
- Click OK.
The window closes and the new rule set appears on the rule sets tree.
Create rules for setting the URL.Host property
You can create rules that set the IP address of a web server as the value of the URL.Host property.
- Select Policy | Rule Sets.
- On the rule sets tree, select the rule set you have created for the new rules, for example, Set value of URL.Host to IP address.
- Click Add Rule.
The Add Rule window opens with the Name step selected. - In the Name field, type a name for a new rule, for example, Set value of URL.Host to 10.141.101.51.
- Select Rule Criteria, then If the following criteria is matched, and click Add.
The Add Criteria window opens. - Configure the rule criteria as follows:
- From the list of properties in the left column, select URL.Destination.IP.
- From the list of operators in the middle column, select equals.
- In the operand field under Compare with in the right column, type an IP address.
- Click OK.
The window closes and the new criteria appears under Rule Criteria. - Click Action, select Continue, and leave the default settings for this action.
- Click Events, then Add, and from the drop-down menu that appears, select Set Property Value.
The Add Set Property window opens. - Set a property as follows:
- Under Set this property, select URL.Host.
- Under To concatenation of these strings, click Add.
The Please Enter a String window opens. - In the Parameter value field, type the host name of the web server that has the IP address you are using in this rule.
- Click OK.
The window closes and the host name appears in the Add Set Property window.
- Click OK.
The window closes and the event for setting the URL.Host property appears under Events. - Click Finish.
The Add Rule window closes and the new rule appears within the rule set that you have created for the value-setting rules. - Click Save Changes.