检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
主机通过公网NAT网关访问外网,请问公网NAT网关的带宽是多少?在哪里设置? 公网NAT网关的SNAT功能通过绑定弹性公网IP,实现云主机私有IP到公网IP的转换。云主机通过公网NAT网关访问外网时,其带宽大小和您购买弹性公网IP时选择的带宽大小有关。 带宽大小调整操作请参考修改带宽大小。
NAT网关里的网段设置与SNAT规则里的网段有什么关联与区别? NAT网关里的网段是在创建NAT网关时必须指定NAT网关所在VPC及子网网段。此网段仅用于系统后台使用,并非SNAT使用的网段。 创建SNAT规则且当场景是虚拟私有云时,需要配置对应VPC的子网网段,使该网段中的云主机通过SNAT方式进行访问。
supported. DNAT规则协议不合法 请配置合法的协议,范围在[6, 17, 0]中,对应TCP、UDP、ANY。 400 NAT.0303 Invalid value for port %(port)s DNAT规则端口不合法 请配置合法的内网端口和外网端口,范围0-65535。
request.withBody(body); try { CreatePrivateSnatResponse response = client.createPrivateSnat(request);
build(); CreateTransitIpTagRequest request = new CreateTransitIpTagRequest(); request.withResourceId("{resource_id}");
request := &model.ShowTransitIpTagsRequest{} request.ResourceId = "{resource_id}" response, err := client.ShowTransitIpTags(request) if
BatchCreateDeleteTransitIpTagsRequest request = new BatchCreateDeleteTransitIpTagsRequest(); request.withResourceId("{resource_id}");
request = ShowTransitIpRequest() request.transit_ip_id = "{transit_ip_id}" response = client.show_transit_ip(request)
build(); CreateNatGatewayTagRequest request = new CreateNatGatewayTagRequest(); request.withNatGatewayId("{nat_gateway_id}");
); request.withBody(body); try { CreatePrivateNatResponse response = client.createPrivateNat(request);
VPC是虚拟私有云,通过逻辑方式进行网络隔离,提供安全、隔离的网络环境。 公网NAT网关能够为VPC内的弹性云服务器提供访问外网的能力。 弹性公网IP是可以提供互联网上合法的静态IP地址的服务,VPC的吞吐量由弹性公网IP带宽决定。 弹性云服务器是VPC内的运行实例,使用公网NAT网关访问外网。 父主题: 公网NAT网关
DeleteTransitIpTagRequest request = new DeleteTransitIpTagRequest(); request.withKey("{key}"); request.withResourceId("{resource_id}");
build(); CreatePrivateNatTagRequest request = new CreatePrivateNatTagRequest(); request.withResourceId("{resource_id}");
build(); ShowPrivateNatTagsRequest request = new ShowPrivateNatTagsRequest(); request.withResourceId("{resource_id}");
request := &model.DeleteTransitIpRequest{} request.TransitIpId = "{transit_ip_id}" response, err := client.DeleteTransitIp(request) if
BatchCreateDeletePrivateNatTagsRequest request = new BatchCreateDeletePrivateNatTagsRequest(); request.withResourceId("{resource_id}");
BatchCreateDeleteNatGatewayTagRequest request = new BatchCreateDeleteNatGatewayTagRequest(); request.withNatGatewayId("{nat_gateway_id}");
DeleteNatGatewayTagRequest request = new DeleteNatGatewayTagRequest(); request.withNatGatewayId("{nat_gateway_id}"); request.withKey("{key}");
DeletePrivateNatTagRequest request = new DeletePrivateNatTagRequest(); request.withKey("{key}"); request.withResourceId("{resource_id}");
request = DeletePrivateNatRequest() request.gateway_id = "{gateway_id}" response = client.delete_private_nat(request)