Help Center> Virtual Private Network> FAQs> Subnet Configurations> What Are the Precautions for Configuring the Local and Customer Subnets for a VPN Connection?
Updated on 2023-06-16 GMT+08:00

What Are the Precautions for Configuring the Local and Customer Subnets for a VPN Connection?

  • The number of local subnets and the number of customer subnets are limited. If the number of local or customer subnets exceeds the upper limit, aggregate the subnets.
    • Maximum number of local subnets for each VPN gateway: 50
    • Maximum number of customer subnets for each VPN connection: 50
  • The local subnet cannot include the CIDR block of the remote subnet. The remote subnet can include the CIDR block of the local subnet.
  • There are routes pointing to the local subnets in the VPC where the VPN gateway resides.
  • If there are two connections (connection A and connection B) created for a VPN gateway, and the remote subnet of connection A is within that of connection B, when the destination network to be accessed belongs to the overlapped CIDR block, the connection created first is matched first, regardless of the connection status. (Mask length match is not used for the policy-based VPN.)

Subnet Configurations FAQs

more