This section provides an example for configuring local authentication on Internet access users when a FW works as an egress gateway.
An enterprise has deployed a FW as the egress gateway to connect the intranet to the Internet, as shown in Figure 1.
Internet access users include R&D employees, marketing employees, and guests. All of them dynamically obtain IP addresses.
The user management and authentication mechanisms of the FW must identify IP addresses on the intranet as users to implement user-specific behavior control and permission assignment. Requirements are as follows:
The configuration roadmap is as follows:
Item |
Data |
Description |
|---|---|---|
R&D employee |
Group User |
Add the R&D employee to group research. You can repeat the operations in this example to configure multiple user accounts. |
Marketing employee |
Group User |
Add the marketing employee to group marketing. You can repeat the operations in this example to configure multiple user accounts. |
Guest |
Group Name: /default User |
All guests use the guest account for authentication. |
Authentication policy |
Authentication is implemented on the R&D employee, marketing employee, or guest who meets matching conditions. The R&D employee, marketing employee, or guest can access network resources only after being authenticated by a FW. |
|
Authentication domain |
The default authentication domain is used during authentication. No authentication domain is required in the user names entered by R&D employees, marketing employees, and guests. |
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 |
Name |
policy_auth_01 |
|---|---|
Source Zone |
Trust |
Source Address/Region |
10.3.0.0/24 |
Action |
Portal authentication |

Click Add and create user groups and users.
Set Redirection Setting After Successful Authentication as Redirect to the latest Web page, and click Apply.
Verify that the following conditions are true:
# sysname FW # user-manage redirect # 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 add interface GigabitEthernet0/0/3 # firewall zone untrust add interface GigabitEthernet0/0/1 # firewall zone dmz add interface GigabitEthernet0/0/2 # aaa # domain default service-type internetaccess internet-access mode password # # security-policy rule name policy_sec_01 source-zone trust source-address 10.3.0.0 24 destination-zone local service protocol tcp destination-port 8887 action permit rule name policy_sec_02 source-zone trust source-address 10.3.0.0 24 destination-zone untrust action permit rule name policy_sec_03 source-zone trust source-address 10.3.0.0 24 destination-zone dmz action permit # auth-policy rule name policy_auth_01 source-zone trust source-address 10.3.0.0 24 action auth # The following user/group creation configuration is stored in the database, but not in the configuration profile. user-manage group /default/research user-manage group /default/marketing user-manage user user_0001 alias Tom parent-group /default/research password ********* undo multi-ip online enable user-manage user user_0002 alias Jack parent-group /default/marketing password ********* undo multi-ip online enable user-manage user guest parent-group /default password *********