tencent cloud

All product documents
Routing to NAT Gateway
Last updated: 2024-01-04 21:49:21
Routing to NAT Gateway
Last updated: 2024-01-04 21:49:21
After the NAT Gateway is created, you need to configure routing policies to direct the subnet traffic to the NAT Gateway. There are two options:
Method 1: Configure in the NAT Gateway console
Method 2: Configure in the Route Table console

Directions

Method 1: Configure in the NAT Gateway console

1. Log in to the NAT Gateway console.
2. In the NAT gateway list, click the VPC ID of the target NAT gateway.
3. Click Subnet in the VPC details page.
4. In the Subnets list, find the subnet that needs to access the internet and click the route table ID.
5. Click +New routing policies on the Basic Information page.
6. In the Add route box, enter the destination (public IP range), select NAT gateway in Next hop type and choose an existing NAT gateway.
7. Click Create to complete.

Method 2: Configure in the Route Table console

1. Log in to the VPC console and click Route Tables on the left sidebar.
2. Locate the route table associated with the subnet that needs to access the Internet, and click its ID/Name to enter the details page.
3. Click +New routing policies on the Basic Information page.
4. In the Add route box, enter the destination (public IP range), select NAT gateway in Next hop type and choose an existing NAT gateway.
5. Click Create to complete.
Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback

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