检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
Prerequisites A private NAT gateway is available. A transit IP address is available. Procedure Go to the private NAT gateway list page. On the Private NAT Gateways page, click the name of the private NAT gateway on which you need to add a DNAT rule.
A maximum of 200 DNAT rules can be added on a public NAT gateway. Procedure Go to the public NAT gateway list page. On the displayed page, click the name of the public NAT gateway on which you need to add a DNAT rule.
SNAT Rules Querying SNAT Rules Creating an SNAT Rule Updating an SNAT Rule Querying Details of an SNAT Rule Deleting an SNAT Rule Parent Topic: APIs of Public NAT Gateways
DNAT Rules Querying DNAT Rules Updating a DNAT Rule Creating a DNAT Rule Deleting a DNAT Rule Querying Details About a Specified DNAT Rule Parent Topic: APIs for Private NAT Gateways
SNAT Rules Querying SNAT Rules Querying Details About a Specified SNAT Rule Updating an SNAT Rule Creating an SNAT Rule Deleting an SNAT Rule Parent Topic: APIs for Private NAT Gateways
DNAT Rules Querying DNAT Rules Creating a DNAT Rule Deleting a DNAT Rule Updating a DNAT Rule Querying Details of a DNAT Rule Creating DNAT Rules in Batches Parent Topic: APIs of Public NAT Gateways
Managing DNAT Rules Adding a DNAT Rule Modifying a DNAT Rule Deleting a DNAT Rule Parent Topic: Private NAT Gateways
Managing SNAT Rules Adding an SNAT Rule Modifying an SNAT Rule Deleting an SNAT Rule Parent Topic: Private NAT Gateways
Managing SNAT Rules Adding an SNAT Rule Modifying an SNAT Rule Deleting an SNAT Rule Parent Topic: Public NAT Gateways
Managing DNAT Rules Adding a DNAT Rule Modifying a DNAT Rule Deleting a DNAT Rule Deleting DNAT Rules in Batches Importing DNAT Rules by Using a Template and Exporting DNAT Rules 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
"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
Does Direct Connect Support NAT? No. During hybrid cloud networking, plan different IP address ranges for the cloud and your premises. If IP address ranges conflict, use NAT for your on-premises network. Parent topic: Interconnection with the Cloud
Constraints You can create DNAT rules in batches 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.
If nat_map_type is set to HOST, the value is the access address. nat_ip No String NAT IP address. nat_port No String NAT port.
Querying NAT Mapping Configuration Items of a Tenant Function Queries NAT mapping configuration items of a tenant. Debugging You can debug this API through automatic authentication in API Explorer or use the SDK sample code generated by API Explorer.
POST /v3/{project_id}/transit-ips/{resource_id}/tags/action nat:transitIpTags:create nat:transitIpTags:delete √ √ Adding a Tag to a Transit IP Address POST /v3/{project_id}/transit-ips/{resource_id}/tags nat:transitIpTags:create √ √ Querying Tags of a Transit IP Address GET /v3/{
Transit Subnet Querying Transit Subnets Creating a Transit Subnet Querying the Details of a Transit Subnet Updating a Transit Subnet Deleting a Transit Subnet Parent Topic: APIs for Private NAT Gateways