Updated on 2023-10-23 GMT+08:00

Local Subnet

Local subnets are VPC subnets that need to communicate with an on-premises network through VPN. When you buy a VPN gateway, you can set Local Subnet to either of the following options:

  • Select subnet: Select subnets from the drop-down list. This is recommended if all subnets that require VPN communication are in the VPC.
  • Enter CIDR block: Enter a subnet using CIDR notation (example: 192.168.0.0/16). If multiple subnets are specified, separate them by a comma (,). This is recommended if the CIDR blocks requiring VPN communication are not in the VPC to which the VPN gateway belongs. For example, CIDR blocks (such as 0.0.0.0/0) that are connected using a VPC peering are not in the VPC to which the VPN gateway belongs.