检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
- NAT Gateway Specifications The NAT gateway specifications refer to the maximum number of supported SNAT connections. .
Enabling NAT Mapping for Direct Connect Address Mapping Port Mapping Parent topic: Basic Configuration
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.
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.
Checking whether the network configuration is correct Check whether the network configuration is correct by referring to Public NAT Gateway Troubleshooting. If the network configuration is correct, go to 6.
You will be charged for using NAT Gateway to enable Internet access for user desktops. You 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. For details, see Bill Management of Billing Center.
(Optional) Deleting a NAT gateway: Click Delete >>. In the NAT gateway list, locate the NAT gateway to delete, and click Delete in the Operation column. If you want to perform this operation, enter DELETE or click Auto Enter. Click OK.
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.
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.
Click NAT Mapping Settings on the right of Direct Connect Access Address. The NAT Mapping Settings page is displayed.
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.
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 After NAT mapping is enabled, select the IP Address Mapping tab and click Add.
You are billed by NAT gateway, bandwidth, public network traffic, and Elastic IP (EIP). Economical Internet access (EIP): Yearly/Monthly and pay-per-use are supported. NOTE: EIPs of yearly/monthly economical Internet access (EIP) are free of charge.
Buying a public NAT gateway Click and choose Networking > NAT Gateway in the service list. Click Buy Public NAT Gateway to go to the Buy Public NAT Gateway page. Configure the parameters by referring to Purchasing a Public NAT Gateway.