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 No authentication.
Parameter |
Description |
|---|---|
Name |
Name of an authentication policy. The name of the authentication policy must be unique. |
Description |
Description of an authentication policy. Describe an authentication policy in a way that helps you understand the use of the authentication policy. |
Tag |
Select an existing tag or add a new tag. The tag identifies and categorizes the policy. You can query policies based on tags and delete, move, enable, or disable policies in batches based on the query results. For the tag 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.
Parameter |
Description |
|---|---|
Source Zone |
Source security zone of an authentication policy |
Destination Zone |
Destination security zone of an authentication policy |
Source Address/Region |
NOTE:
Source address of an authentication policy. The source address can be any of the following:
You can manually enter addresses or select an existing address object from the drop-down list. The icons in the drop-down list are described as follows:
When there are multiple available options, you can select Address or Region from the drop-down list, improving the configuration efficiency. When only Address is selected, the drop-down list displays all optional addresses, address groups, and domain groups. When only Region is selected, the drop-down list displays all optional regions and region groups. NOTE:
The MAC address configured in the policy relies on the across-Layer-3 MAC identification function or the firewall ARP entries are learned.
|
Destination Address/Region |
Destination address of an authentication policy. You can manually enter addresses or select an existing address object from the drop-down list. Address object types in the drop-down list are the same as those of the Source Address/Region. NOTE:
When an IP address corresponds to multiple domain names, an IP address can be used to search for a maximum of 16 domain names. If the domain name to be searched is not in the policy rule, the policy cannot be matched. You are advised to configure multiple domain names with the same IP address in the same policy rule. When there are multiple available options, you can select Address or Region from the drop-down list, improving the configuration efficiency. When only Address is selected, the drop-down list displays all optional addresses, address groups, and domain groups. When only Region is selected, the drop-down list displays all optional regions and region groups. NOTE:
To exclude an address or address group (destination address or destination addresses) from policy matching, select the address or address group from the available address area, select it in the selected address area and click Invert, and then click OK. |
Service |
The protocol type of the traffic. Services can be predefined or user-defined.
You can also create a service group and add predefined and user-defined services to the group. Authentication policies cannot trigger authentication for OSPF, BGP, bootpc, bootps, DNS, and DNS-TCP services. You cannot select such a service as a predefined service on the web UI. If the selected service group contains any unsupported service, the configuration fails. For details, see Service and Service Group. NOTE:
To exclude a service or service group (service or service group of traffic) from policy matching, select the service or service group from the available service area, select it in the selected service area and click Invert, and then click OK. |
Parameter |
Description |
|---|---|
Action |
Action in an authentication policy
|
Portal Authentication Template |
Set this parameter if a user-defined portal authentication template is used. Click Enable and select an existing portal authentication template. This parameter is available only when Action is set to Portal authentication. |