A port forwarding table is a configuration table on a NAT gateway that is used to configure the DNAT feature on the NAT gateway. It maps the [private IP, protocol and port] collection of a CVM in the VPC to another [public IP, protocol and port] collection in the public network, so that resources on the CVM can be accessed from the public network.
You can create port forwarding rules by completing the steps below.
Log in to the Virtual Private Cloud Console.
In the list, click the ID of the desired NAT gateway to go to its details page. Click Port Forwarding tab.
Click New, select the protocol, external and internal IP ports, and click OK.
The internal IP address only supports the private IP address of a CVM within the VPC.