检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
It is a UTC time in the yyyy-mm-ddThh:mm:ssZ format. status String Specifies the DNAT rule status of a private NAT gateway. The value can be: ACTIVE: The DNAT rule is running properly. FROZEN: The DNAT rule is frozen.
Tag Management Scenarios A NAT gateway tag identifies the NAT gateway. Tags can be added to NAT gateways to ease NAT gateway identification and administration. You can add a tag to a NAT gateway when creating the NAT gateway.
What Should I Do If My ECS Fails to Access a Server on the Public Network Through a Public NAT Gateway? TCP connection may fail when an ECS accesses a server on the public network through an SNAT rule.
Parent topic: Using Multiple Public NAT Gateways Together in Performance-Demanding Scenarios
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are
Log in to the ECS as user root and check whether the private IP address of the ECS is the one you planned. ifconfig Configuring Private NAT Gateways To assign a transit IP address On the management console, under Networking, select NAT Gateway.
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are
Parent topic: Public NAT Gateways
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are
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
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are
"github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2" "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/model" region "github.com/huaweicloud/huaweicloud-sdk-go-v3/services/nat/v2/region" ) func main() { // The AK and SK used for authentication are
A private NAT gateway is available.
You can select a method to renew a yearly/monthly public NAT gateway based on the phase the public NAT gateway is currently in. Figure 1 Selecting a renewal method based on public NAT gateway's phase A NAT gateway is in the Running state after it is provisioned.
Table 1 NAT Gateway billing items Billing Item Description Billing Mode Formula NAT gateway specifications The NAT gateway performance is determined by the maximum number of SNAT connections supported.
If you plan to access NAT gateways through an API, ensure that you are familiar with NAT gateway concepts. For details, see Service Overview. API Calling Welcome to NAT Gateway API Reference.
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.
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.