检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Checking Whether There Is a Route Pointing to the Current NAT Gateway Check whether there is a route pointing to the public NAT gateway in the route table associated with the VPC where the public NAT gateway is located.
Notes and Constraints Public NAT Gateway When using a public NAT gateway, note the following: Common restrictions Rules on one public NAT gateway can use the same EIP, but rules on different NAT gateways must use different EIPs.
K-O N NAT Gateway NAT gateways provide the network address translation (NAT) function with 10 Gbit/s bandwidth for servers in a Virtual Private Cloud (VPC), such as Elastic Cloud Servers (ECSs), Bare Metal Servers (BMSs), and Workspace desktops, or servers that connect to a VPC through
You can create a DNAT rule only when status of the NAT gateway is ACTIVE and admin_state_up of the NAT gateway administrator is True. URI POST /v2.0/snat_rules Request Table 1 lists the request parameter.
You can create a DNAT rule only when status of the NAT gateway is ACTIVE and admin_state_up of the NAT gateway administrator is True. Specify either port_id or private_ip at a time.
SDK Overview This document lists the SDKs provided by NAT Gateway and the addresses for obtaining the latest SDK versions. SDKs Table 1 lists the SDKs supported by NAT Gateway. You can view SDK updates, obtain installation packages, and view user guides in GitHub.
Private NAT Gateway Private NAT gateways provide private address translation (NAT) for cloud servers (ECSs and BMSs) in a VPC.
Table 1 Public NAT gateway operations Operation Resource Type Trace Creating a public NAT gateway natgateway createNatGateway Modifying a public NAT gateway natgateway updateNatGateway Deleting a public NAT gateway natgateway deleteNatGateway Creating a DNAT rule dnatrule createDnatRule
Creating Alarm Rules Scenarios You can set NAT gateway alarm rules to customize the monitored objects and notification policies. Then, you can learn NAT gateway running status in a timely manner. Procedure Log in to the management console.
For both public and private NAT gateways, DNAT rules can be modified. Parent topic: DNAT Rules
NAT Gateway supports all of the following actions in custom policies: Public NAT Gateways, including actions, such as creating, updating, and deleting a NAT gateway, supported by all v2 APIs of the NAT gateway.
A NAT gateway supports up to 55,000 concurrent connections to each destination IP address and port. If any of the destination IP address, port number, and protocol (TCP, UDP, or ICMP) changes, you can create another 55,000 connections.
Feature Description Phase Document 1 Private NAT gateways Private NAT gateways provide the network address translation (NAT) function for load balancers and cloud servers in a VPC, allowing multiple servers to share a private IP address to access or provide services accessible from
Querying All API Versions Function This API is used to query all API versions of NAT Gateway. API Format GET/ Request None Response Table 1 lists response parameters.
0 bit/s 1024 (IEC) Public NAT gateway 1 minute inbound_pps Inbound PPS Packets received by the public NAT gateway from the public network per second ≥0 Count N/A Public NAT gateway 1 minute outbound_pps Outbound PPS Packets received by the public NAT gateway from the VPC per second
In a public NAT gateway, DNAT enables servers in a VPC to share an EIP to provide services accessible from the Internet through IP address mapping or port mapping. For details, see Adding a DNAT Rule.
Public NAT gateways support pay-per-use billing by day only. Private NAT gateways support pay-per-use billing by hour only. This section describes the billing rules for pay-per-use NAT gateways.
Public NAT gateways: Besides requiring services provided by the system, some ECSs also need to access the Internet to obtain information or download software.
Scenarios This section describes how to view NAT Gateway metrics. Procedure Log in to the management console. In the upper left corner, select the target region. Under Management & Governance, select Cloud Eye.
Querying an API Version Function This API is used to query an API version of NAT Gateway. URI GET/{api_version} Table 1 Parameter description Parameter Mandatory Description api_version Yes Specifies the API version. Request None Response Table 2 lists response parameters.