检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
- NAT Gateway Specifications The NAT gateway specifications refer to the maximum number of supported SNAT connections. .
Click NAT Mapping Settings on the right of Direct Connect Access Address. The NAT Mapping Settings page is displayed. Determine whether to enable NAT mapping. : not enabled : enabled Configure NAT mapping. To configure address mapping, perform 6 to 8.
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.
Please contact the administrator. 500 WKS.00010029 Failed to invoke NAT interface. Failed to invoke the NAT service.
NAT Gateway NAT Gateway allows multiple Workspace desktops in a VPC to share an EIP to access the Internet.
Figure 1 Disabling the Internet Record the NAT gateway name and the EIP bound to the SNAT rule. After the SNAT rule is disabled, the EIP is unbound from the SNAT rule. You need to disable the corresponding EIP and NAT gateway on the EIP list and NAT gateway list.
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.
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.
(Optional) To delete a NAT gateway, click Delete >> next to Delete NAT Gateway. On the page displayed, locate the NAT gateway to delete, and choose Operation > Delete in the Operation column. Delete related resources that are not in use as required.
NAT gateway specifications.
Public/Private NAT gateways are billed based on the public NAT gateway type and service duration. For pricing details, see NAT Gateway Price Calculator. Windows images are third-party images provided in the Marketplace. A portal is provided for you to select public images.
Table 5 InternetInfo Parameter Type Description vpc_name String VPC name. subnet_id String Subnet ID. subnet_name String Subnet name. nat_id String NAT gateway ID. nat_name String NAT gateway name. eip String EIP. created_at String Creation time. status String Status. enterprise_project_id
NATNetname-workspace_subnet01 NAT Gateway Specification Specifications of the public NAT gateway. If an existing NAT gateway is used, you do not need to configure this parameter. To create an NAT gateway, you need to configure the NAT gateway specifications.
Gateway √ √ workspace:networks:listNats GET /v2/{project_id}/internet Query network access of the NAT Gateway √ √ workspace:networks:createEips POST /v2/{project_id}/eips Create an EIP √ √ workspace:networks:listEips GET /v2/{project_id}/eips List EIPs √ √ workspace:networks:bindEips
You will be charged for using NAT to access the Internet. For details, see Billing (Public NAT Gateway). The administrator can log in to the Huawei Cloud official website and choose Billing & Costs > Bills on the top of the page to view the fee details.
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.
If the ID is specified, the corresponding NAT gateway is used. If not, create one. nat_name No String NAT gateway name, which defaults to nat-workspace. eip_name No String EIP name, which defaults to eip-workspace.
Mapping Configuration Items of a Tenant Modifying NAT Mapping Configuration Items of a Tenant Parent topic: Workspace APIs
Public/Private NAT gateways are billed based on the public NAT gateway type and service duration. For pricing details, see NAT Gateway Price Calculator. Public images (except special ones) are free of charge.
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.