--- title: "PortForwardingRule" slug: "common-apidatatype-portforwardingrule" updated: 2026-09-17T09:25:01Z published: 2026-09-17T09:25:01Z canonical: "api.ncloud-docs.com/common-apidatatype-portforwardingrule" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # PortForwardingRule Available in Classic This is a port forwarding rule. ## Syntax The syntax is as follows. ``` private String portForwardingConfigurationNo; private String portForwardingPublicIp; private Zone zone; private Integer portForwardingExternalPort; private Integer portForwardingInternalPort; private ServerInstance serverInstance; ``` ## Field The following describes the fields. | Field | Type | Required | Description | | --- | --- | --- | --- | | `portForwardingConfigurationNo` | String | Required | Port forwarding configuration number - Key value managed by NAVER Cloud Platform | | `portForwardingPublicIp` | String | Required | Public IP for port forwarding - Set up port forwarding using a public IP for port forwarding and access the server | | `zone` | [Zone](/docs/en/common-apidatatype-zone) | Required | Port forwarding Zone | | `portForwardingExternalPort` | Integer | Required | External port to connect to the server with port forwarding - 1 - 65534 | | `portForwardingInternalPort` | Integer | Required | Internal port to connect to the server with port forwarding - 1 - 65534 | | `serverInstance` | [ServerInstance](/docs/en/common-apidatatype-serverinstance) | Required | Port forwarding target server |