Skip to main content
Skyhigh Security

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.

  1. Select Policy | Rule Sets.
  2. On the rule sets tree, navigate to the position where you want to insert the rule set.
  3. Above the tree, click Add and select Rule Set.
    The Add New Rule Set window opens.
  4. Under Name, enter a suitable name for the new rule set, for example, Set value of URL.Host to IP address.
  5. Make sure Enable is selected.
  6. Under Applies to select Requests and IM.
  7. Under Apply this rule set, select Always.
  8.  [Optional] Under Comment, type a plain-text comment on the rule set.
  9. [Optional] Click the Permissions tab and configure who is allowed to access the rule set.
  10. 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.

  1. Select Policy | Rule Sets.
  2. 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.
  3. Click Add Rule.
    The Add Rule window opens with the Name step selected.
  4. In the Name field, type a name for a new rule, for example, Set value of URL.Host to 10.141.101.51.
  5. Select Rule Criteria, then If the following criteria is matched, and click Add.
    The Add Criteria window opens.
  6. Configure the rule criteria as follows:
    1. From the list of properties in the left column, select URL.Destination.IP.
    2. From the list of operators in the middle column, select equals.
    3. In the operand field under Compare with in the right column, type an IP address.
  7. Click OK.
    The window closes and the new criteria appears under Rule Criteria.
  8. Click Action, select Continue, and leave the default settings for this action.
  9. Click Events, then Add, and from the drop-down menu that appears, select Set Property Value.
    The Add Set Property window opens.
  10. Set a property as follows:
    1. Under Set this property, select URL.Host.
    2. Under To concatenation of these strings, click Add.
      The Please Enter a String window opens.
    3. In the Parameter value field, type the host name of the web server that has the IP address you are using in this rule.
    4. Click OK.
      The window closes and the host name appears in the Add Set Property window.
  11. Click OK.
    The window closes and the event for setting the URL.Host property appears under Events.
  12. 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.
  13. Click Save Changes.
  • Was this article helpful?