检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Table 4 NatGatewaySnatRuleResponseBody Parameter Type Description id String Specifies the SNAT rule ID. tenant_id String Specifies the project ID. nat_gateway_id String Specifies the public NAT gateway ID. cidr String Specifies a CIDR block or a host IP address.
Table 1 Parameter description Parameter Mandatory Type Description id No String Specifies the SNAT rule ID. limit No Integer Specifies the number of records on each page. tenant_id No String Specifies the project ID. nat_gateway_id No String Specifies the public NAT gateway ID. network_id
Table 1 Parameter description Parameter Type Description id String Specifies the DNAT rule ID. limit Integer Specifies the number of records on each page. tenant_id String Specifies the project ID. nat_gateway_id String Specifies the public NAT gateway ID. port_id String Specifies
Supported range: 0 to 65535 nat_gateway_id String Specifies the public NAT gateway ID. global_eip_id String Specifies the global EIP ID.
The default value is an empty string. tags Array of Tag objects Specifies the list of tags. gateway_id String Specifies the ID of the private NAT gateway associated with the transit IP address. enterprise_project_id String Specifies the ID of the enterprise project that is associated
Table 3 Description of the snat_rule field Parameter Type Description id String Specifies the SNAT rule ID. tenant_id String Specifies the project ID. nat_gateway_id String Specifies the public NAT gateway ID. network_id String Specifies the network ID used by the SNAT rule. cidr
Table 3 Description of the dnat_rule field Parameter Type Description id String Specifies the DNAT rule ID. tenant_id String Specifies the project ID. nat_gateway_id String Specifies the public NAT gateway ID. port_id String Specifies the port ID of an ECS or BMS. private_ip String
Table 6 PrivateSnat Parameter Type Description id String Specifies the SNAT rule ID. project_id String Specifies the project ID. gateway_id String Specifies the private NAT gateway ID. cidr String Specifies the CIDR block that matches the SNAT rule.
The default value is an empty string. tags Array of Tag objects Specifies the list of tags. gateway_id String Specifies the ID of the private NAT gateway associated with the transit IP address. enterprise_project_id String Specifies the ID of the enterprise project that is associated
Configure SNAT rules through NAT Gateway. You can use NAT Gateway to enable container pods in a VPC to access the Internet.
The default value is an empty string. tags Array of Tag objects Specifies the list of tags. gateway_id String Specifies the ID of the private NAT gateway associated with the transit IP address. enterprise_project_id String Specifies the ID of the enterprise project that is associated
Check whether there is a route whose next hop is the NAT gateway in the route list. The NAT gateway automatically creates a route 0.0.0.0/0 from the VPC to the NAT gateway to allow traffic from the VPC to the NAT gateway, as shown in Figure 1.
What Are the Differences Between Private NAT Gateways and Public NAT Gateways?
Log in to the NAT Gateway management console, and choose Network Connectivity > NAT Gateway > Public NAT Gateways. Click the name of the newly created public NAT gateway to go to its details page.
EIP configured for the NAT gateway purchased outside the Chinese mainland region.
Creating a NAT Gateway and an Elastic IP Address You have created a NAT gateway and an elastic IP address.
NAT gateway You can directly jump to the target NAT gateway page. Click the NAT gateway name in the Networking Components area. The NAT gateway details page is displayed. Click to return to the NAT gateway list.
Table 1 Resource description Resource Description Quantity Cost NAT Gateway Protected resource. 1 For details about the billing modes and standards, see NAT Gateway Billing. Elastic IP (EIP) EIP bound to the NAT gateway.
On the Create Public NAT GatewayBuy Public NAT Gateway page, configure required parameters. Table 1 Descriptions of public NAT gateway parameters Parameter Example Description Region CN North-Beijing4 The region where the public NAT gateway is located.
How Many Private NAT Gateways Can I Buy in a VPC? You can buy a maximum of 10 private NAT gateways in a VPC. Parent topic: Private NAT Gateways