Help Center> Virtual Private Network> FAQ> Networking and Application Scenarios> How Do I Replace a Direct Connect Connection with a VPN?

How Do I Replace a Direct Connect Connection with a VPN?

  1. Ensure that the gateway of the on-premises data center supports IPsec VPN.
  2. Create a VPN gateway (select the VPC to which the Direct Connect connection uses) and a VPN connection on HUAWEI CLOUD.

    When creating a VPN connection, configure its remote subnet as follows to avoid routing conflicts.

    • Delete the virtual interface of the Direct Connect connection first and then configure the VPN connection.
    • Divide the remote subnet into two subnets and configure the VPN connection. After the Direct Connect connection is deleted, configure the VPN connection again.