This section provides an example for configuring Agile Controller (Policy Center or Agile Controller) Single Sign On (SSO) for Internet access users when a FW works as an egress gateway. Users need to proactively access the Agile Controller portal authentication page and must be authenticated before accessing services.
An enterprise has deployed a FW as the egress gateway to connect the intranet to the Internet, as shown in Figure 1.
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:
This example describes only how to configure user management and authentication.
The configuration roadmap is as follows:
| Item | Data | Description |
|---|---|---|
Agile Controller server |
On a FW, set the parameters for communication with a Agile Controller server. The parameter settings on the FW must be consistent with those on the Agile Controller server. |
|
User information import policy |
Import users from the Agile Controller server to the FW. |
|
Parent group of new users |
As a temporary user, and use permission of this group newuser. |
|
Agile Controller SSO |
Set SSO parameters on the FW and configure the FW to receive the user login and logout information from the Agile Controller server. |
The following example describes Agile Controller. The user interface may vary with the version. For details, refer to the Policy Center or Agile Controller product documentation of a specific version.
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 must be consistent with those on the Agile Controller server. In most cases, the server port of Policy Center is 8080, and that of Agile Controller is 8084.

Click Detect. In the dialog box that is displayed, click OK to check the connectivity to the Agile Controller server.

User information on the Agile Controller server can be imported only to the default authentication domain.
In this step, click Configure on the right of Server Import Policy. A dialog box is displayed. Click Import Immediately corresponding to policy_import. After the import is complete, the user groups and users on the Agile Controller server are displayed in User/User Group/Security Group Management List.
Name |
auth_policy_tsm |
|---|---|
Source Zone |
Trust |
Destination Zone |
dmz |
Source Address/Region |
10.3.0.0/24 |
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 tsm enable # tsm-server template auth_server_tsm tsm-server encryption-mode aes128 shared-key %$%$|5<h@/062'gA|%:9CO.2/JA8%$%$ tsm-server ip-address 10.2.0.50 # security-policy rule name sec_policy_tsm source-zone trust destination-zone dmz source-address 10.3.0.0 24 destination-address 10.2.0.0 24 action permit rule name local_policy_tsm_01 source-zone local destination-zone dmz action permit rule name local_policy_tsm_02 source-zone dmz destination-zone local action permit rule name policy_sec_02 source-zone trust source-address 10.3.0.0 24 destination-zone untrust action permit # auth-policy rule name auth_policy_tsm 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 # user-manage server-sync tsm sync-address 10.3.0.0 24 enable # 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 # user-manage import-policy policy_import from tsm server template auth_server_tsm server basedn root destination-group /default import-type user-group import-override enable time-interval 120 # aaa domain default service-type internetaccess internet-access mode single-sign-on new-user add-temporary group /default/newuser # 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 user-manage group /default/newuser test tsm-server template auth_server_tsm