Add a Custom Rule
- Last Updated: May 13, 2025
- 2 minute read
- LoadMaster
- LoadMaster GA
- Documentation
Follow the steps below to find out how to add custom WAF rules in the Web User Interface (WUI) of the LoadMaster:
- In the main menu, select Web Application Firewall > Custom Rules.
- 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.
- Browse to and select the rules to be uploaded.
- Click Add Ruleset.
- 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.
- Browse to and select the additional data files.
- 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.