Draytek 1.11 Router User Manual


 
Telnet Command Reference Guide V1.1
53
[Destination local IP address] It means to type the destination IP address.
add It means creating a new open port setting.
Profile index It means to specify the number for this profile. The range is from 1
to 10.
Subitem index It means to specify the subitem number for this profile. The range is
from 1 to 10.
WAN IP addr It means to specify the public IP address for this profile.
Pvt IP addr It means to specify the private IP address of local computer.
protocol It means to specify TCP or UDP as the protocol.
start port It means to specify the starting port number of the service offered by
the local host.
endt port It means to specify the ending port number of the service offered by
the local host.
remove It means deleting the specified open port setting.
Profile index It means to specify the entry number of the profile.
subitem index It means to specify the entry number of subitem.
flush It means to clear all the open port settings.
Example
> srv nat openport flush
Ok.
>
2.14.2.3 srv nat portmap
This command allows users to set port redirection table for NAT server.
srv nat portmap add [idx][serv name][proto][pub port][pri ip][pri port]
srv nat portmap del [idx]
srv nat portmap disable [idx]
srv nat portmap enable [idx] [proto]
srv nat portmap flush
srv nat portmap table
Syntax Description
Add[idx] It means to add a new port redirection table with an index number.
Available index number is from 1 to 10.
serv name It means to type one name as service name.
proto It means to specify TCP or UDP as the protocol.
pub port It means to specify which port can be redirected to the specified
Private IP and Port of the internal host