Add IP Address Exceptions¶
Overview¶
Add IP addresses to the policy and specify whether they are always or never allowed to send requests to your protected applications.
Add, edit, or delete IP addresses exceptions that are specified within the policy.
Prerequisites¶
Verify any attached application services to ensure proper security after changes are deployed.
You need to have a user role of Security Manager or Administrator to manage a WAF policy.
How to add IP address exceptions¶
Click the workspace icon next to the F5 icon, and click Security.
From the left menu click Policies under WAF.
Select the name of the policy.
A panel for the General Settings opens.
From the panel menu, click IP Address Exceptions.
The panel displays a list of IP addresses currently specified within the policy.
To create an IP address exception:
At the top of the panel, click Create.
Enter the IP Address. You can add a Netmask if it applies.
From Block Mode select how you want the policy to manage requests from the IP address:
Policy Default - Requests from this IP address are blocked according to policy rules.
Always Block - Requests from the IP address are always blocked.
Never Block - Requests from this IP address are always allowed and never blocked.
Enable additional IP address exceptions, according to your application security needs:
EXCLUDE IP ADDRESS FROM POLICY BUILDER TRAFFIC - Policy builder always trusts traffic from the IP address as safe. In addition, the IP address is added to the Trust IP Address list for Policy Learning.
EXCLUDE LOG TRAFFIC FROM IP ADDRESS - Requests and responses sent from the IP address are not logged, even if the request was illegal, and the security policy is configured to log all traffic.
EXCLUDE IP ADDRESS FROM LEARNING SUGGESTIONS - Requests from the IP address do not generate learning suggestions.
APPLY TO ADDITIONAL POLICIES - Enable this setting to apply the IP address exception rules to additional policies. Once you have enabled this setting you can select one or more policies.
Click Save. The IP address is added to the IP Address Exceptions list.
To edit an IP address exception:
From the IP Address Exception list, select the IP address.
Edit the Blocking Mode settings. For more information, see step 5 for more information.
Click Save to save your changes.
To remove an IP address from the exception list:
Select the check box next to the IP address.
At the top of the panel click Delete.
Resources¶
Configure using API¶
IP address exception management using the policy Editor¶
Edit the WAF policy JSON declaration directly through the WAF policy editor.