tencent cloud

Feedback

VPN Access

Last updated: 2024-04-30 17:14:44

    Overview

    To use VPN access, users need to purchase a Tencent Cloud VPC and VPN gateway, establish a tunnel between the VPN and IDC, and connect the local IDC database to the Tencent Cloud VPC through nearby access, then use DTS for transfer tasks.
    
    
    

    Directions

    For instructions on establishing a VPN tunnel, see Establishing Connection Between VPC and IDC.
    In this scenario, the user's VPC network is TomVPC, subnet is Subnet A, with the subnet range of 192.168.1.0/24 . The newly created VPN gateway is TomVPNGW, and the public IP address of the VPN gateway is 203.195.147.82 . The host IP address of the user's IDC database is 10.0.1.8 .
    

    Subsequent Steps

    1. After establishing connection between the VPN and IDC, select VPN Access on the DTS configuration task page.
    Parameter
    Description
    Sample Value
    VPN Gateway
    Name of the VPN gateway created in the VPC.
    TomVPNGW
    VPC
    Name of your VPC.
    TomVPC
    Subnet
    Name of the subnet of your VPC.
    Subnet A
    Host Address
    IP address of the source database server.
    10.0.1.8
    Port
    Port used by the source database. Below are the default ports for common databases (if they are modified, enter the actual ports):
    
    MySQL: 3306
    SQL Server: 1433
    PostgreSQL: 5432
    MongoDB: 27017
    Redis: 6379
    3306
    2. Click Test Connectivity. If the test fails, troubleshoot as follows:
    The Telnet test fails. In the created VPC ("TomVPC" in this example), purchase a CVM instance and ping the source database server address from it:
    If the address is unpingable:
    The port settings of the source database are incorrect.
    If the address is pingable: Submit a ticket for assistance.
    The Telnet test is passed, but the database connection fails.
    The migration account is not properly authorized. Authorize it again as instructed in the corresponding scenario in data migration and data sync.
    The account or password is incorrect.
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support