This section describes how to configure authentication policies to specify the data flows requiring authentication.
An authentication policy is a set of authentication rules. A FW matches packets with multiple authentication rules from top to bottom. If the attributes of a packet match all the conditions of an authentication rule, the rule is successfully matched, and the FW does not match the packet with other rules. If no rule is matched, the FW applies the default authentication policy to the packet.
The FW has a default authentication policy with all matching conditions set to any and the action set to none. You can run default action to change the action in the default authentication policy.
rule name rule-name
You can run the rule rename old-name new-name command to rename an authentication policy rule.
description description
Describe an authentication policy in a way that helps you understand the use of the authentication policy.
add tag tag-name
After policies reference labels, you can query policies based on labels and delete, move, enable, or disable policies in batches based on query results. For the label description and configuration, see Tag.
Matching conditions of an authentication rule are logically ANDed. A packet matches an authentication rule only after the packet attributes match all matching conditions. Items of a matching condition are logically ORed. A packet attribute matches a matching condition if the packet attribute matches any item of the matching condition.
You must configure authentication rules in order from the most specific to the least specific.
| Function | Command |
|---|---|
Configure a source security zone. |
source-zone { zone-name &<1-6> | any } |
Configure a destination security zone. |
destination-zone { zone-name &<1-6> | any } |
Configure a source address. |
|
Configure a destination address. |
|
Configure a service (by referencing a service or service group). |
|
Configure a service (by referencing a TCP/UDP/SCTP port or IP-layer protocol). |
|
action { auth [ portal-template template-name ] | exempt-auth | none | anonymous-auth }
After configuring authentication policy rules, you can perform the following operations to modify the configuration if needed: