Follow the steps below to find out how to add custom WAF rules in the Web User Interface (WUI) of the LoadMaster:

  1. In the main menu, select Web Application Firewall > Custom Rules.

  2. To upload custom rules, click Choose File in the Installed Rules section.
    Note: Individual rules can be uploaded as .conf files, or you can load a package of rules in a tar.gz file. The first character in the filename must be an alpha character or an underscore (_). The other characters in the filename can include full stops (.) or dashes (-).
    Note: Rules listing IP addresses with the /32 subnet mask are not supported and will not upload successfully.
  3. Browse to and select the rules to be uploaded.
  4. Click Add Ruleset.
  5. To upload any additional data files, click Choose File in the Custom Rule Data section.
    Note: The additional files are for the rules’ associated data files. If using a Tarball, the rules and data files can be packaged together.
  6. Browse to and select the additional data files.
  7. Click Add Data File.

The rules will now be available to assign within the Virtual Services modify screen (Virtual Services > View/Modify Services > Modify). Refer to the Assigning Custom Rules to a Virtual Service section to find out how to configure the Virtual Service.