After creating a Direct Connect gateway and setting a Dedicated Tunnel, you can configure the routing table of the VPC in the console to direct the desired traffic to the Direct Connect gateway.
- Log in to the Tencent Cloud Console, select Virtual Private Cloud in the top navigation bar, and click the Routing Tables tab.
- Click the ID of the routing table to be associated with the Direct Connect gateway to enter the routing table details page.
- Click the Edit button and add a policy in the routing policies. Enter the Destination, and select "Direct Connect Gateway" for the Next hop type to filter out the Direct Connect gateway you created.
- Save the routing table.
Now, you can direct the traffic of the specific destination to the Direct Connect gateway to associate it with your local IDC.