检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Log in to the management console and choose Networking > NAT Gateway. The NAT gateway list is displayed. Click the icon shown in the figure below to copy the NAT gateway ID. Figure 1 Copying the NAT gateway ID On the top menu bar, choose Billing & Costs > Bills.
Procedure Go to the public NAT gateway list page. Click the name of the public NAT gateway. On the public NAT gateway details page, click the DNAT Rules tab.
Exporting DNAT Rules Go to the public NAT gateway list page. On the displayed page, click the name of the public NAT gateway from which you want to export DNAT rules. On the public NAT gateway details page, click the DNAT Rules tab.
gateways are billed based on the public NAT gateway specifications and the usage duration.
Figure 1 Searching for the NAT gateway Choose More > Delete in the Operation column to delete the NAT gateway. Ensure that the NAT gateway does not exist in the list.
Procedure Go to the private NAT gateway list page. On the Private NAT Gateways page, click the name of the private NAT gateway. On the private NAT gateway details page, click the DNAT Rules tab.
NATNetname-workspace_subnet01 NAT Gateway Specification Specifications of the public NAT gateway. If an existing NAT gateway is used, you do not need to configure this parameter. To create an NAT gateway, you need to configure the NAT gateway specifications.
You can use the NAT Gateway service available on the public cloud platform. This service offers NAT for containers in a VPC, allowing these containers to access the Internet using an EIP.
Public NAT Gateways Overview of Public NAT Gateways Buying a Public NAT Gateway Managing Public NAT Gateways Managing SNAT Rules Managing DNAT Rules
What Is the Bandwidth of a Public NAT Gateway That Is Used by Servers to Access the Internet? How Do I Configure the Bandwidth? How Do I Resolve Packet Loss or Connection Failure Issues When Using a NAT Gateway?
APIs of Public NAT Gateways Public NAT Gateway Tags (V3) Public NAT Gateways DNAT Rules SNAT Rules
Private NAT Gateways Overview of Private NAT Gateways Buying a Private NAT Gateway Managing Private NAT Gateways Managing SNAT Rules Managing DNAT Rules Managing Transit IP Addresses Accessing On-Premises Data Centers or Other VPCs
Yearly/Monthly: You pay upfront for the amount of time you expect to use the NAT gateway for. You will need to make sure your account has sufficient balance. Pay-per-use: You can start using the NAT gateway first and then pay as you go.
Private NAT Private Gateways Are in Specified VPCs Rule Details Table 1 Rule details Parameter Description Rule Name private-nat-gateway-authorized-vpc-only Identifier private-nat-gateway-authorized-vpc-only Description If a private NAT gateway is not in a specified VPC, this gateway
Figure 5 Using multiple public NAT gateways together The system does not add a default route for a public NAT gateway. You need to add a route pointing to the public NAT gateway to the corresponding route table. Each public NAT gateway has an associated route table.
NAT Gateway - Tag Private NAT Gateway - Transit IP Address Tag
APIs for Private NAT Gateways Private NAT Gateways DNAT Rules SNAT Rules Transit IP Addresses Private NAT Gateway Tags Transit IP Address Tags Transit Subnet Transit Subnet Tags
Buy two EIPs and configure a NAT gateway. Buy an EIP in CN East-Shanghai1 and bind the EIP to Eth 0 (172.16.100.100). For details, see Assigning an EIP and Binding It to an ECS. In AP-Singapore, buy an EIP and a public NAT gateway, and add a DNAT rule.
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.
Renewing Subscriptions Overview Manually Renewing a NAT Gateway Auto-renewing a NAT Gateway