Updated on 2026-07-24 GMT+08:00

VPN Connection Algorithm Check

Rule Details

Table 1 Rule details

Parameter

Description

Rule Name

vpn-connections-algorithm-check

Identifier

VPN Connection Algorithm Check

Description

If the authentication or encryption algorithm of a VPN connection does not meet requirements, this VPN connection is non-compliant.

Tag

vpnaas

Trigger Type

Configuration change

Filter Type

vpnaas.vpnConnections

Rule Parameters

allowedEncryptionAlgorithm: allowed encryption algorithms. The value is an array, for example, ["aes-256-gcm-16", "sm4"].

allowedAuthAlgorithm: allowed authentication algorithms. The value is an array, for example, ["sha2-512", "sm3"].

Application Scenarios

S2C VPN is a tunneling technology that provides IP-layer security using the IKE/IPsec protocol suite. It ensures the confidentiality and integrity of IP data packets, preventing interception, disclosure, or tampering on insecure networks like the Internet.

When creating an S2C VPN connection, configure encryption and authentication algorithms in the policy.

Recommended algorithms for S2C VPN connections are listed below in descending order of security, see Data Protection Technologies.

Solution

Use a VPN connection that meets the algorithm requirements.

Rule Logic

  • If the authentication or encryption algorithm of a VPN connection does not meet requirements, this VPN connection is non-compliant.
  • If both authentication and encryption algorithms of a VPN connection meet requirements, this VPN connection is compliant.

    This rule checks both the IKE and IPsec policy objects of a VPN connection.