检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
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
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
NAT gateway specifications.
Figure 2 Buying an EIP Create a NAT gateway. For details, see Using a Public NAT Gateway to Enable Servers to Share One or More EIPs to Access the Internet. Click in the upper left corner and choose Networking > NAT Gateway in the expanded list.
What Are the Differences Between Private NAT Gateways and Public NAT Gateways?
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.
How Many Private NAT Gateways Can I in a VPC? You can create a maximum of 10 private NAT gateways in a VPC. Parent topic: Private NAT Gateways
Buy a public NAT gateway. Go to the Buy Public NAT Gateway page. On the Buy Public NAT Gateway page, configure required parameters.
EIP configured for the NAT gateway purchased outside the Chinese mainland region.
Preparations: Creating a NAT Gateway and an EIP You have purchased a NAT gateway and an EIP. The specific procedure is as follows: Log in to the NAT Gateway console and click Buy Public NAT Gateway in the upper right corner. Configure parameters based on service requirements.
Managing DNAT Rules Adding a DNAT Rule Modifying a DNAT Rule Deleting a DNAT Rule Parent Topic: Private NAT Gateways
Managing SNAT Rules Adding an SNAT Rule Modifying an SNAT Rule Deleting an SNAT Rule Parent Topic: Private NAT Gateways
Managing SNAT Rules Adding an SNAT Rule Modifying an SNAT Rule Deleting an SNAT Rule Parent Topic: Public NAT Gateways
SNAT Rules Querying SNAT Rules Creating an SNAT Rule Updating an SNAT Rule Querying Details of an SNAT Rule Deleting an SNAT Rule Parent Topic: APIs of Public NAT Gateways
Transit Subnet Querying Transit Subnets Creating a Transit Subnet Querying the Details of a Transit Subnet Updating a Transit Subnet Deleting a Transit Subnet Parent Topic: APIs for Private NAT Gateways
DNAT Rules Querying DNAT Rules Updating a DNAT Rule Creating a DNAT Rule Deleting a DNAT Rule Querying Details About a Specified DNAT Rule Parent Topic: APIs for Private NAT Gateways