In this example, the FW serves as the egress gateway of an enterprise. Users who pass the authentication of the RADIUS authentication system directly pass the FW's authentication. The FW can parse RADIUS attributes and use the parsed attribute as the security group.
An enterprise has deployed a FW as the egress gateway at the network border to connect the intranet and Internet, as shown in Figure 1. Details are as follows:

The enterprise network administrator wants to use the user management and authentication mechanism provided by the FW to identify intranet IP addresses as users to control network behavior and assign network permissions. Requirements are as follows:
This example describes only the user configuration related to authentication.
| Item | Data | Description |
|---|---|---|
RADIUS SSO |
Set SSO parameters on the FW, so that the FW can analyze RADIUS accounting packets passing by to obtain user-IP address mappings. In addition, the FW can parse sub-attribute 60 of the vendor-specified attribute and use the parsed sub-attribute as the user's security group. |
|
New User Authentication Options |
|
In this example, user information is not imported to the FW. Users log in as temporary users. You can control user permissions based on parsed security groups. If the parsed security group does not exist on the FW, the user group configured in this field can be used to control user permissions. |
The following part uses GigabitEthernet 0/0/3 as an example to describe the configuration. Configure other interfaces as the data in the networking diagram.
Zone |
trust |
|---|---|
IP Address |
10.3.0.1/24 |
Configure a security policy between the Trust zone (users and NAS) and DMZ (RADIUS server) for users to get authenticated by the RADIUS server.
Name |
policy_sec_radius |
|---|---|
Source Zone |
trust |
Destination Zone |
dmz |
Destination Address |
10.2.0.0/24 |
Action |
Permit |
Ensure that the FW has the parsed security group (parsed attribute). Otherwise, the parsed security group will not be recorded in the online user table. In this example, the parsed security groups are rch and mkt.



Name |
auth_policy_radius |
|---|---|
Source Zone |
trust |
Destination Zone |
dmz |
Destination Address/Region |
10.2.0.50/32 |
Action |
No authentication |
Name |
auth_policy_service |
|---|---|
Source Zone |
trust |
| Source Address/Region | 10.3.0.0/24 |
Action |
Authentication exemption |
If the action of the authentication policy is set to authentication exemption, the FW obtains user information through SSO and permits the traffic when user information fails to be obtained during SSO authentication. If the network has high security requirements, set the action of the authentication policy to portal authentication. Then the FW will implement portal authentication on the users failing the SSO authentication.
# sysname FW # user-manage online-user aging-time 480 user-manage single-sign-on radius enable mode in-path interface GigabitEthernet0/0/3 traffic server-ip 10.2.0.50 port 1813 user-manage radius-attribute-id vendor-specific 60 define-as security-group delimiter , # security-policy rule name sec_policy_radius source-zone trust destination-zone dmz destination-address 10.2.0.0 24 action permit # auth-policy rule name auth_policy_radius source-zone trust destination-zone dmz 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 # 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 single-sign-on new-user add-temporary group /default/newuser # The following configuration is a one-time operation and is not saved in the configuration file. user-manage group /default/newuser