This section provides an example for configuring authentication on Internet access users and remote access users when a FW works as an egress gateway and VPN access gateway.
As shown in Figure 1, FWs are deployed at the network borders of the headquarters and branch office of an enterprise. Details are as follows:
This example describes only how to configure user management and authentication.
Set a new user authentication item for the authentication domain. If a user passes the authentication but does not exist on FW_A, the user is a temporary user and is granted the permission of its parent group.
In this example, only the organizational unit on the AD server is imported. Therefore, all users are new to FW_A. When you configure a new user authentication item, the user is not added to the local user list. Its parent group is obtained based on the server import policy, and the user is granted the permission of its parent group.
Configure authentication exemption for top executives.
Create group and user objects for top executives and bidirectionally bind the user objects to IP and MAC addresses. Create an authentication policy and set the authentication action to no authentication.
Configure AD SSO.
Employees are required to pass FW_A authentication after AD domain authentication. Therefore, configure AD SSO on FW_A to ensure that FW_A can monitor the authentication result packets that the AD server sends to the employees' PCs.
Item |
Data |
Description |
|---|---|---|
AD server |
|
On a FW_A, set the parameters for communication with an AD server. The parameter settings on the FW_A must be consistent with those on the AD server. |
Authentication domain |
|
The domain name must be the same as that on the AD server. |
User information import policy |
|
Import users from the AD server to the FW_A. |
AD SSO |
|
Set SSO parameters on the FW_A and configure the FW_A to receive the user login information from the AD server. |
Top executive |
Group
User
|
Add the top executive to the group manager and configure bidirectional binding for the top executive and the IP and MAC addresses. No password is required for the top executive. A FW_A implements authentication on the top executive based on the bound IP and MAC addresses. You can repeat the operations in this example to configure multiple user accounts. |
Authentication policy for top executives |
|
Authentication is not implemented on the top executive who meets matching conditions. FW_A identifies the top executive based on the bound IP and MAC addresses. The top executive can access network resources without entering any user name and password. |
Authentication policy for branch office |
|
Employees in the branch office must pass the authentication before accessing the resources in the headquarters. |
The following example describes how to configure interface GigabitEthernet 0/0/3. You can configure other interfaces based on the networking diagram.
Zone |
trust |
|---|---|
IP Address |
10.3.0.1/24 |
The parameter settings on the FW_A must be consistent with those on the AD server.

For the V600R007C20 version, whether to enable SSL for AD authentication cannot be configured on the web UI. When you configure the AD server on the web UI, SSL (ldap-over-ssl) is enabled by default. In this mode, LDAP over SSL must also be enabled on the AD server. For details, see the operating system guide of the AD server. To disable SSL (no-ssl), click CLI Console in the lower right corner of the web page. On the CLI configuration page that is displayed, run the ad-server authentication 10.2.0.50 88 no-ssl command in the corresponding AD server template view. From V600R007C20SPC100, you can configure whether to enable SSL for AD authentication on the Web UI. The following uses no-ssl as an example.
Click Detect. In the dialog box that is displayed, click OK and enter the user name and password that are configured on the AD server. Click Start Checking to check the connectivity to the AD server.


Configure AD SSO for HQ employees: Set AD login parameters.
In this example, AD SSO is configured in monitoring AD authentication packets mode. For configuration in installing AD SSO service program mode, see Web: Example for Configuring AD SSO for Internet Access Users (Install ADSSO_Setup.exe to receive messages from PCs).

# sysname FW_A # user-manage online-user aging-time 480 user-manage single-sign-on ad mode no-plug-in no-plug-in traffic server-ip 10.2.0.50 port 88 enable # ad-server template auth_server_ad ad-server authentication 10.2.0.50 88 no-ssl ad-server authentication base-dn dc=cce,dc=com ad-server authentication manager cn=administrator,cn=users %$%$M#._~J4QrR[kJu7PUMtHUqh_%$%$ ad-server authentication host-name ad.cce.com ad-server authentication ldap-port 389 ad-server user-filter sAMAccountName ad-server group-filter ou # interface GigabitEthernet0/0/1 ip address 1.1.1.1 255.255.255.0 # interface GigabitEthernet0/0/2 ip address 10.2.0.1 255.255.255.0 # interface GigabitEthernet0/0/3 ip address 10.3.0.1 255.255.255.0 # firewall zone trust set priority 85 add interface GigabitEthernet0/0/3 # firewall zone untrust set priority 5 add interface GigabitEthernet0/0/1 # firewall zone dmz set priority 50 add interface GigabitEthernet0/0/2 # security-policy rule name local_policy_ad_01 source-zone local destination-zone dmz destination-address 10.2.0.50 32 action permit rule name local_policy_ad_02 source-zone dmz destination-zone local source-address 10.2.0.50 32 action permit rule name policy_sec_02 source-zone trust source-address 10.3.0.0 24 destination-zone dmz action permit rule name policy_sec_03 destination-zone local service protocol tcp destination-port 8887 action permit # user-manage import-policy policy_import from ad server template auth_server_ad server basedn dc=cce,dc=com destination-group /cce.com user-attribute sAMAccountName user-filter (&(|(objectclass=person)(objectclass=organizationalPerson))(cn=*)(!(objectclass=computer))) group-filter (|(objectclass=organizationalUnit)(ou=*)) import-type group import-override enable sync-mode incremental schedule interval 120 # aaa authentication-scheme ad authentication-mode ad # domain cce.com service-type internetaccess ssl-vpn internet-access mode single-sign-on auto-online password authentication-scheme ad ad-server auth_server_ad new-user add-temporary group /cce.com auto-import policy_import # auth-policy rule name policy_auth_01 source-zone trust source-address 10.3.0.2 32 action exempt-auth rule name auth_policy_ad source-zone trust destination-zone dmz source-address 10.3.0.0 24 destination-address 10.2.0.50 32 action none rule name auth_policy_service source-zone trust source-address 10.3.0.0 24 action exempt-auth rule name policy_auth_02 source-zone untrust source-address 10.4.0.0 16 action auth # The following user/group creation configuration is stored in the database, but not in the configuration profile. user-manage group /cce.com/manager user-manage user user_0001 alias Supervisor parent-group /cce.com/manager undo multi-ip online enable bind mode bidirectional bind ipv4 10.3.0.2 mac aaaa-bbbb-cccc # The following configuration is used to perform a one-time operation and not stored in the configuration profile. execute user-manage import-policy policy_import test-aaa testname testpassword ad-template auth_server_ad