检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
NAT gateway specifications.
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.
Enabling NAT Mapping for Direct Connect Address Mapping Port Mapping Parent topic: Basic Configuration
Enhanced (NAT Gateway+EIP) Billing Mode Pay-per-use - Network Select a VPC and a subnet. - NAT Gateway Name To allow cloud servers to access the Internet and save IP address resources, a high-performance NAT gateway is required.
Click NAT Mapping Settings on the right of Direct Connect Access Address. The NAT Mapping Settings page is displayed.
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.
Buying a public NAT gateway Click and choose Networking > NAT Gateway in the service list. Click Buy Public NAT Gateway. The Buy Public NAT Gateway page is displayed. Configure the parameters by referring to the parameter description in Buying a Public NAT Gateway.
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.
Buying a public NAT gateway Click and choose Networking > NAT Gateway in the service list. Click Buy Public NAT Gateway. The Buy Public NAT Gateway page is displayed. Set the parameters by referring to the parameter description in section Buy a Public NAT Gateway.
If multiple NAT gateways are created in the same VPC, ensure that the default route in the route table points to all NAT gateways. Check whether the default route in the route table points to all NAT gateways. If no, configure this. (Optional) Configure DNS forwarding.
(Optional) Disabling a NAT Multiple SNAT and DNAT rules can be created for a NAT, and the NAT can be disabled only after all related SNAT and DNAT rules are disabled. Determine whether to disable the NAT as required.
Mapping Configuration Items of a Tenant Modifying NAT Mapping Configuration Items of a Tenant Parent topic: Workspace APIs
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.
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.
If Internet access is enabled, the EIP, NAT, and bandwidth that are not released will still be charged. If you do not need the EIP, NAT, and bandwidth, disable them. Procedure Log in to the console. In the navigation pane, choose Tenant Configuration > Basic Settings.
(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.
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
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.
Internet Access Management Enabling Economical Internet Access (EIP) Enabling Enhanced Internet Access (NAT Gateway+EIP) Disabling Internet Access