The port-forwarding resource command adds port-forwarding resources.
The undo port-forwarding resource command deletes port-forwarding resources.
port-forwarding resource resource-alias { host-ip ip | host-name hostname | any } port [ resource-description ]
undo port-forwarding resource resource-alias
| Parameter | Description | Value |
|---|---|---|
| resource-alias | Specifies the alias of resources. | The value is a string of 1 to 31 case-sensitive
characters. NOTE:
In dual-system hot backup networking, "%" cannot
be included. |
| ip | Specifies the resource IP address. | The value is in dotted decimal notation. |
| hostname | Specifies the name of resources. It is a string of 1 to 127 case-sensitive characters. | The name of resource can be set as a domain name
or a device name of resources For example: www.example.com or example123. NOTE:
|
| any | Indicates all resources. | - |
| port | Specifies a port. | The value is an integer that ranges from 0 to 65535. |
| resource-description | Specifies the description of resources. | The value is a string of 1 to 53 case-sensitive characters. |
If no DNS server is configured on the virtual gateway, you cannot access intranet or extranet resources through domain names.
If the DNS server is configured on the virtual gateway, you can use domain names to access specified port resources on the intranet, but not extranet resources.