Configuring VPN Routing Policies

Last updated: 2021-07-05 11:09:47

Prerequisites

You have completed the configurations of VPN gateway, customer gateway and VPN tunnel before configuring a routing policy.

Directions

  1. Log in to the VPC console.
  2. Click VPN Connection > VPN Gateway on the left sidebar.
  3. On the VPN Gateway page, select the target region and VPC, and click the ID/Name of the VPN gateway to go to its details page.
  4. Click the Route Table tab.
  5. Click Add a route and configure routing policies.
    Configuration Item Description
    Destination Enter the IP range of the network to access.
    Next hop type Select VPN tunnel or CCN.

    Note: if the VPN gateway for CCN is associates with a CCN instance, the routing policy with CCN as the next hop will be automatically obtained and displayed in the route table. Do not manually configure it.

    Next hop Select the instance ID of the next hop.
    • If you select VPN tunnel for the Next hop type, select a VPN tunnel that has been created.
    • If you select CCN for the Next hop type, the CCN instance associated with the VPN gateway will be automatically displayed.
    Weight Choose the weighted values of VPN tunnels:
    • 0: high priority
    • 100: low priority
    Add a line Configure multiple routing policies as needed.
    Delete Delete the routing policies, except for the last one.
  6. Click OK.
  7. Perform other operations as needed.
    1. Enable or disable routing policies.
    2. Delete the disabled routing policies.