< Home

Web: Example for Configuring the SACG in Standalone Off-line Mode

The off-line mode for networking is to directly connect the SACG to the core switch or router on the original network to realize the SACG interworking. In off-line mode, the SACG interworking can be deployed without affecting the original networking and requiring any cutovers.

Networking Requirements

The Agile Controller server group is deployed on an enterprise network, and the FW is deployed in off-line mode at the egress of this network, as shown in Figure 1. The following requirements should be met:

  • Different user roles can access different network resources (configured in Agile Controller servers).
  • Once user roles change, available network resources should be updated instantly.
Figure 1 Networking diagram of the example for configuring SACG in off-line mode

Data Planning

Item

Data

Description

Agile Controller server 1

IP Address: 10.1.4.2

Port: 3288

Shared key: TSM_Security

The port and shared key configured need to be identical with those configured on the Agile Controller server.

Agile Controller server 2

IP Address: 10.1.4.3

Port: 3288

Shared key: TSM_Security

The port and shared key configured need to be identical with those configured on the Agile Controller server.

Third-party server

IP address: 10.1.4.4

Protocol of packets supported by health check: HTTP

Health check destination port: 80

Minimum number of active nodes for health check: 1

-

Static route from the FW to the switch

10.1.3.7

-

Minimum number of active servers

1

-

Configuration Roadmap

The configuration roadmap is as follows:

  1. Disable the session status detection function.
  2. Configure the basic data of the FW
  3. Configure the default packet-filtering rule for the interzone.
  4. Add Agile Controller servers, and configure the authentication URL.
  5. Enable SACG and the status detection of the server.
  6. Apply the interworking policy to the interzone.

Procedure

  1. Configure the Agile Controller server.

    Set the IP address of the Agile Controller server.

    For details, refer to related configuration manuals of the Agile Controller server.

    Configure the static route from the Agent to the Agile Controller server group before performing the following operations. Details are omitted.

  2. Configure the basic parameters of the interfaces.
    1. Choose Network > Interface.
    2. Click the corresponding of GigabitEthernet 0/0/1.

      The related parameters of GigabitEthernet 0/0/1 are specified as follows and the other parameters use the default values.

      Zone

      trust

      Mode

      Route

      IPv4

      Connection Type

      Static IP

      IP Address

      10.1.3.6/255.255.255.0

    3. Click OK.
    4. Click of GigabitEthernet 0/0/2.

      The related parameters of GigabitEthernet 0/0/2 are specified as follows and the other parameters use the default values.

      Zone

      untrust

      Mode

      Route

      IPv4

      Connection Type

      Static IP

      IP Address

      10.1.2.4/255.255.255.0

    5. Click OK.
  3. Configure a static route from the FW to the switch.
    1. Choose Network > Router > Static Route.

    2. In Static Route List, click Add to create a static route. The configurations are as follows:

      Destination Address

      0.0.0.0

      Mask

      0.0.0.0

      Next Hop

      10.1.3.7

      Interface

      GigabitEthernet0/0/1

    3. Click OK.
  4. Create a Agile Controller server.
    1. Choose Network > SACG > Settings.
    2. On the Configure Basic SACG Parameter interface, click the Authentication Server List tab.
    3. Click Add. Configure the parameters for Agile Controller server 1.

      Server IP

      10.1.4.2

      Server Port

      3288

      Shared Key

      TSM_Security

      The server port and shared key configured on the FW must be identical with those configured on the Agile Controller server.

    4. Click Confirm.
    5. Repeat the previous steps to create Agile Controller server 2 whose IP address is 10.1.4.3, port number is 3288, and shared key is TSM_Security.
  5. Configure the authentication URL.
    1. On the Configure Basic SACG Parameter interface, click the URL Authentication List tab.
    2. Enter the URL of the pushed web page, namely, http://IP address of the service controller:8084/newauth.

      When the TSM device and Policy Center interwork with the FW, the configured URL parameter is http://IP address of the service controller:8080/newauth. When the Agile Controller-Campus (called AC-Campus for short) interworks with the FW, the configured URL parameter is http://IP address of the service controller:8084/newauth.

    3. Click Add, and the URL address is displayed in the list, as shown in the following figure.

  6. Enable SACG, and the FW can send interworking requests to the Agile Controller Server. Set the minimum number of the Agile Controller servers that connect to the FW, and enable server status detection.

    Before enabling the SACG function, delete ACL 3099 to ACL 3999 by running commands. Otherwise, the SACG function fails to be enabled.

    Before configuring the health check function for third-party servers, you must set related parameters and enable the health check function in Object > Health Check.

    1. On the Object > Health Check interface, configure the parameters as shown in the following figure.

    2. On the Network > SACG > Settings > Configure Basic SACG Parameter interface, configure the parameters as shown in the following figure.

    3. Click Apply.
  7. Apply the interworking policy between zones. Terminal users are in the Untrust zone and the Agile Controller Server is in the Trust zone. Apply the interworking policy in the outbound direction between the Trust and Untrust zones.
    1. Choose Network > Interworking > Policy.
    2. In Apply Policy to Interzone List, select the Untrust and Trust zones from the drop-down list and click Add to apply the SACG interworking policy in the inbound direction of the Untrust-Trust zone, as shown in the following figure .

  8. Optional: Add the uplink interface GigabitEthernet 0/0/1 and downlink interface GigabitEthernet 0/0/2 to the same link-group. After the upstream and downstream interfaces are added to the same link-group, no matter the uplink or downlink fails, the redirection function or the policy-based routing automatically becomes invalid. Traffic is no longer sent to the FW.
    1. choose System > Virtual System > Link-Group
    2. ClickEdit on the line of Link-Group ID1 configure the parameters as shown in the following figure

  9. Add the connection parameters of the SACG, configure the pre-authentication and post-authentication domains, and create user information on the Agile Controller Server. For details, refer to the related documents of Agile Controller products.

Verification

After completing the configurations, choose Network > SACG > Settings. You can see that the running status of the Agile Controller Server is Connected in Authentication Server List and that the authentication policy configured on the Agile Controller Server is delivered to the FW. This indicates that the configurations succeed.

Configuration Scripts

#
 sysname FW
#
 undo firewall session link-state check
#
interface GigabitEthernet0/0/1
 link-group 1
 ip address 10.1.3.6 255.255.255.0
#
interface GigabitEthernet0/0/2
 link-group 1
 ip address 10.1.2.4 255.255.255.0
#
firewall zone local
 set priority 100
#
firewall zone trust
 set priority 85
 add interface GigabitEthernet0/0/1
#
firewall zone untrust
 set priority 5
 add interface GigabitEthernet0/0/2
#
firewall zone dmz
 set priority 50
#
 ip route-static 0.0.0.0 0.0.0.0 10.1.3.7
#
healthcheck enable
healthcheck name hchk1
least active-linknumber 1
destination 10.1.4.4 interface GigabitEthernet 0/0/1 protocol http destination-port 80
#
right-manager server-group
 healthcheck hchk1
 default acl 3099
 server ip 10.1.4.2 port 3288 shared-key %$%$!g8A4;cd.T(7d@Bdhw#~iI@7%$%$
 server ip 10.1.4.3 port 3288 shared-key %$%$!g8A4;cd.T(7d@Bdhw#~iI@7%$%$
 right-manager server-group enable
 right-manager status-detect enable
 right-manager server-group active-minimun 1
 right-manager authentication url http://10.1.4.2:8084/newauth
 right-manager authentication url http://10.1.4.3:8084/newauth
#
firewall interzone trust untrust
 apply packet-filter right-manager inbound
#
return
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >