You can write an application rule to directly manipulate and manage IP application traffic.

Procedure

  1. Open Edge Gateway Services.
    1. Navigate to Networking > Edges.
    2. Select the edge gateway to edit, and click Configure Services.
  2. Navigate to Load Balancer > Application Rules.
  3. Click the Add (Create button) button.
  4. Type the name for the application rule.
  5. Type the script for the application rule.

    For information on the application rule syntax, see http://cbonte.github.io/haproxy-dconv/configuration-1.5.html.

  6. Click Keep to preserve your changes.

    The operation can take a minute to complete.

What to do next

Associate the new application rule to a virtual server added for the load balancer. See Add a Virtual Server.