检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
NAT Gateway - Tag Private NAT Gateway - Transit IP Address Tag
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
Permissions Management Creating a User and Granting NAT Gateway Permissions NAT Gateway Custom Policies
The total number of DNAT and SNAT rules that can be added on a private NAT gateway varies with the private NAT gateway specifications.
Procedure of Creating a Public NAT Gateway Log in to the NAT Gateway console, and click Buy Public NAT Gateway. On the displayed page, enter gateway information, select a VPC and subnet (for example, vpc-01), and confirm and submit the settings to buy a NAT gateway.
NAT Gateway does not support IPv6 EIPs. Bind an IPv4 EIP. 400 NAT.0110 Get Nat gateway host failed Failed to select the gateway node. Contact technical support. 400 NAT.0111 Get Nat gateway agent local_ip failed Failed to obtain the gateway node IP address.
Figure 1 Buying a public NAT gateway Set the NAT gateway rule by referring to Adding an SNAT Rule. Set Scenario to VPC, and CIDR Block to the subnet where the RCU instance resides, and bind a public IP address. Figure 2 Adding an SNAT rule Parent topic: Appendix
Application Examples Example 1: Creating a Public NAT Gateway and Configuring an SNAT Rule Example 2: Creating a Public NAT Gateway and Configuring a DNAT Rule
Billed by day or hour (calculated by the second but billed every hour) Billing Items NAT gateway type and specifications NAT gateway type and specifications Changing the Billing Mode Yearly/Monthly can be changed to pay-per-use.
Create a NAT gateway. Select the same VPC and subnet as the CDM cluster. After the NAT gateway is created, return to the NAT gateway console list, click the created gateway name, and then click Add SNAT Rule. Figure 1 Adding an SNAT rule Select a subnet and an EIP.
Create a NAT gateway. Select the same VPC and subnet as the CDM cluster. After the NAT gateway is created, return to the NAT gateway console list, click the created gateway name, and then click Add SNAT Rule. Figure 1 Adding an SNAT rule Select a subnet and an EIP.
The destination cannot overlap with any subnet in the VPC. 0.0.0.0/0 Next Hop Type Type of the next hop NAT gateway Next Hop Set the next hop. The resources in the drop-down list box are displayed based on the selected next hop type.
If you access to the Internet using an EIP but with no DNAT rules configured, external users cannot directly access the public network address of the NAT gateway through the Internet, ensuring ECS security. Figure 4 NAT gateway
Procedure Go to the public NAT gateway list page. Click the name of the public NAT gateway. On the SNAT Rules tab, locate the SNAT rule you want to modify. Click Modify in the Operation column. In the displayed dialog box, modify type of the public IP address or description.
After CTS is enabled, traces can be generated for operations performed on the NAT Gateway console. If you want to enable and configure CTS, refer to Enabling CTS. If you want to know supported NAT Gateway operations, refer to Key Operations Recorded by CTS.
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 SNAT Rules tab, locate the SNAT rule you want to modify. Click Modify in the Operation column.
Feature Description Phase Document 1 The maximum bandwidth supported by a public NAT gateway is increased. A public NAT gateway supports up to 20 Gbit/s of bandwidth. Commercial use Product Specifications July 2020 No.
If not, grant the IAM account the permission to use the NAT and EIP services. For details, see Creating a User and Granting NAT Gateway Permissions and Creating a User and Granting EIP Permissions. Procedure Log in to the console.