检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Configuring a NAT Protection Rule After verifying the traffic flow, configure protection rules so that the CFW can allow or block traffic accordingly. Configuring a NAT Protection Rule Log in to the management console.
The total number of DNAT and SNAT rules that can be added on a private NAT gateway varies with the private NAT gateway specifications.
Managing Transit IP Addresses Assigning a Transit IP Address Viewing a Transit IP Address Releasing a Transit IP Address Parent Topic: Private NAT Gateways
Transit IP Addresses Querying Transit IP Addresses Releasing a Transit IP Address Assigning a Transit IP Address Querying Details About a Specified Transit IP Address Parent Topic: APIs for Private NAT Gateways
Tags Querying Transit Subnets by Tag Querying Tags of All Transit Subnets in a Specified Project Querying Tags of a Transit Subnet Adding a Tag to a Transit Subnet Batch Adding or Deleting Tags to or from a Transit Subnet Deleting a Transit Subnet Tag Parent Topic: APIs for Private NAT
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.
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.
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.
Parent Topic: Private NAT Gateways
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.
How Do I Resolve Packet Loss or Connection Failure Issues When Using a NAT Gateway? If packet loss or connection failures occur on a server that uses the NAT gateway to access the Internet, you can check the SNAT connections on the Cloud Eye console.
"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
You can view the transit VPC, transit subnet, and private NAT gateway associated with the transit IP address. Parent Topic: Managing Transit IP Addresses
What Is the Bandwidth of a Public NAT Gateway That Is Used by Servers to Access the Internet? How Do I Configure the Bandwidth? Public NAT Gateway SNAT translates private IP addresses of servers to EIPs.
"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
URI DELETE /v2/{project_id}/nat_gateways/{nat_gateway_id}/snat_rules/{snat_rule_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Specifies the project ID. nat_gateway_id Yes String Specifies the public NAT gateway ID. snat_rule_id Yes String Specifies
URI DELETE /v2/{project_id}/nat_gateways/{nat_gateway_id}/dnat_rules/{dnat_rule_id} Table 1 Path Parameters Parameter Mandatory Type Description project_id Yes String Specifies the project ID. nat_gateway_id Yes String Specifies the public NAT gateway ID. dnat_rule_id Yes String Specifies
Table 5 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.
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