This example describes the typical networking and method for configuring the interworking with the HiSec Insight.
The FW can interwork with the HiSec Insight to identify and block malicious sessions. As shown in Figure 1, the FW acts as the RESTCONF server, and the HiSec Insight as the RESTCONF client. The FW and HiSec Insight are reachable, and the FW uses the RESTCONF NBI to communicate with the HiSec Insight.
In this example, the service traffic is encrypted traffic.
Create a detection profile and a detection policy to decrypt encrypted traffic. In this example, HTTPS-encrypted packets are decrypted.
HiSec Insight V100R003C30 and later versions support encrypted traffic analysis. Encrypted service traffic (such as HTTPS, POP3S, IMAPS, and SMTPS traffic encrypted based on SSL) can be directly mirrored to the HiSec Insight through the FW or switch. For versions earlier than HiSec Insight V100R003C30, you need to configure SSL encrypted traffic detection on the FW to decrypt the traffic and then mirror the traffic to the HiSec Insight through the FW.
Choose and click Add.

Choose . In the blacklist list, set the cause to HiSec Insight-detection and click Search to check entries added to the FW blacklist through interworking with the HiSec Insight.
#
aaa
manager-user restconf-admin
password cipher @%@%r"4+){k0COFQte$ymxOMEk80.\ACNlhJgDNfvyN*CqfSk83E@%@%
service-type api
#
interface GigabitEthernet0/0/1
undo shutdown
ip address 1.1.1.1 255.255.255.0
#
interface GigabitEthernet0/0/2
undo shutdown
ip address 10.1.1.1 255.255.255.0
#
interface GigabitEthernet0/0/3
undo shutdown
ip address 10.1.2.1 255.255.255.0
#
firewall zone trust
set priority 85
add interface GigabitEthernet0/0/2
#
firewall zone untrust
set priority 5
add interface GigabitEthernet0/0/1
#
firewall zone dmz
set priority 50
add interface GigabitEthernet0/0/3
#
api
api https enable
#
security-policy
default action permit
rule name policy_to_cis
source-zone local
destination-zone dmz
action permit
rule name policy_to_Internet
source-zone trust
destination-zone untrust
action permit
group name https
#
profile type decryption name profile_cis
detect type inbound
mirror-interface GigabitEthernet0/0/3
#
decryption-policy
rule name cis
source-zone untrust
destination-zone trust
destination-address 10.1.1.0 mask 255.255.255.0
service https
action decrypt profile profile_cis
#
apt-cis
linkage enable
#
return