Manual Chapter :
Applying AFM Network Firewall Policies
Applies To:
Show VersionsBIG-IP AFM
- 14.1.3, 14.1.2, 14.1.0
Applying AFM Network Firewall Policies
Applying a policy globally
You can apply an AFM Network Firewall policy to the global context, enforcing the policy on all traffic processed by the AFM system.
- On the Main tab, click.The Active Rules screen opens.
- UnderFilter Active Rules List, click theGloballink.TheGlobal Firewall Rulesscreen opens.
- To enforce rules from a firewall policy in the selected context, in the Network Firewall area: from theEnforcementlist, selectEnabledand then select the firewall policy to enforce from thePolicylist.
- To stage rules from a firewall policy in the selected context, in the Network Firewall area: from theStaginglist, selectEnabledand then select the firewall policy to stage from thePolicylist.
The policy rules you selected are enforced at the global level. If you chose to stage policy rules, the results of those
rules are logged, but not enforced.
Applying a policy to a virtual server
You must have created at least one virtual server.
You can apply an AFM Network Firewall policy to a specific virtual server, also known as a protected object, enforcing the policy only on traffic processed by that protected object.
- On the Main tab, click
- Click the name of the virtual server to assign the firewall policy.
- On the menu bar at the top of the page, click
- To enforce rules from a firewall policy on the virtual server, in the Network Firewall area, from theEnforcementlist, selectEnabled, then select the firewall policy to enforce from thePolicylist.
- To stage rules from a firewall policy on the virtual server, in the Network Firewall area, from theStaginglist, selectEnabled, then select the firewall policy to stage from thePolicylist.
- ClickUpdateto save the changes.
The policy you selected is enforced on the virtual server. If you chose to stage the policy, the results of a policy match is logged, but not enforced.
Applying a policy to a Self IP
You must have created at least one self IP address.
You can apply an AFM Network Firewall policy to the self IP context, enforcing the policy on all traffic passing through that self IP.
- On the Main tab, click.
- Click on the self IP address to which you want to add a network firewall policy.
- Click theSecuritytab.
- To enforce rules from a firewall policy on the self IP: In the Network Firewall area, from theEnforcementlist, selectEnabled, and then from thePolicylist, select the firewall policy to enforce.
- To stage rules from a firewall policy on the self IP: In the Network Firewall area, from theStaginglist, selectEnabled, and then from thePolicylist, select the firewall policy to stage.
- ClickUpdateto save the changes to the self IP.
The policy you selected is enforced at the self IP level. If you chose to stage the policy, the results of a policy match is logged, but not enforced.
Applying a policy to a route domain
You must have created at least one route domain.
You can apply an AFM Network Firewall policy to a route domain, enforcing the policy only on all traffic in that route domain.
- On the Main tab, click.The Route Domain List screen opens.
- Click the name of the route domain to show the route domain configuration.
- Click the Security tab.
- To enforce rules from a firewall policy on the route domain: in the Network Firewall area: from theEnforcementlist, selectEnabledand then select the firewall policy to enforce from thePolicylist.
- To stage rules from a firewall policy on the route domain: in the Network Firewall area, from theStaginglist, selectEnabledand then select the firewall policy to stage from thePolicylist.
- ClickUpdateto save the changes to the route domain.
The policy you selected is enforced at the route domain level. If you chose to stage the policy, the results of a policy match is logged, but not enforced.
Applying a rule to the management port
You cannot apply an AFM Network Firewall policy to the management port context. Instead, you must create and apply one or more AFM Network Firewall rules directly to the management port context.
You can only add management port
rules as inline rules. For all other contexts, you should add rule lists to policies.
- On the Main tab, click.The Active Rules screen opens.
- From theContextlist, selectManagement Port.
- In the Rules area, clickAddto add a firewall rule to the list.
- In theNameandDescriptionfields, type the name and an optional description.
- From theOrderlist, select the order in which the rule is processed
- From theStatelist, select the rule state.
- SelectEnabledto apply the firewall rule to the given context and addresses.
- SelectDisabledto set the firewall rule to not apply at all.
- SelectScheduledto apply the firewall rule according to the selected schedule.
- From theProtocollist, select the protocol to which the firewall rule applies.
- SelectAnyto apply the firewall rule to any protocol.
- Select the protocol name to apply the rule to a single protocol.
ICMP is handled by the BIG-IP system at the global or route domain level. Because of this, ICMP messages receive a response before they reach the virtual server context. You cannot create rule for ICMP or ICMPv6 on a self IP or virtual server context. You can apply a rule list to a self IP or virtual server that includes a rule for ICMP or ICMPv6; however, such a rule will be ignored. To apply firewall actions to the ICMP protocol, create a rule with theglobalorroute domaincontext. ICMP rules are evaluated only for ICMP forwarding requests, and not for the IP addresses of the BIG-IP system itself. - From the SourceAddress/Regionlist, selectSpecify.
- ClickAddress Listand select the appropriate address list object
- ClickAdd.
- From the SourcePortlist, selectSpecify.
- ClickPort Listand select the appropriate port list object.
- ClickAdd.
- From the DestinationAddress/Regionlist, select specify.
- ClickAddress Listand select the appropriate address list object.
- ClickAdd.
- From the DestinationPortlist, selectSpecify.
- ClickPort Listand select the appropriate port list object.
- ClickAdd.
- From theActionlist, select the firewall action to perform on matching traffic.
- From theLogginglist, enable or disable logging for the firewall rule.A logging profile must be enabled to capture logging info for the firewall rule.
- ClickFinished
The new firewall policy is being enforced on the BIG-IP AFM system management port.