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

Procedure

  1. Open Edge Gateway Services.
    1. From the top navigation bar, select Resources, and click the Cloud Resources tab.
    2. In the left panel, click Edge Gateways.
    3. Click the radio button next to the name of the target edge gateway, and click Services.
  2. Navigate to Load Balancer > Application Rules.
  3. Click the Add (Create button) button.
  4. Enter the name for the application rule.
  5. Enter the script for the application rule.
    For information on the application rule syntax, see http://cbonte.github.io/haproxy-dconv/2.2/configuration.html.
  6. To preserve your changes, click Keep.

What to do next

Associate the new application rule to a virtual server added for the load balancer. See Add a Virtual Server On an NSX Data Center for vSphere Edge Gateway Using the VMware Cloud Director Service Provider Admin Portal.