beautypg.com

Draytek Telnet Command 1.11 User Manual

Page 60

background image

Telnet Command Reference Guide V1.1

54

pri ip

It means to specify the private IP address of the internal host
providing the service.

pri port

It means to specify the private port number of the service offered by
the internal host.

del [idx]

It means to remove the selected port redirection setting.

disable [idx]

It means to inactivate the selected port redirection setting.

enable [idx]

It means to activate the port mapping settings of the specified

flush

It means to clear all the port mapping settings.

table

It means to display NAT Port Redirection Configuration Table:

Example

> srv nat portmap add 1 game tcp 80 192.168.1.11 100
>> srv nat portmap table

NAT Port Redirection Configuration Table:

Index Service Name Protocol Public Port Private IP Private Port
1 game 6 80 192.168.1.11 100
2 0 0 0
3 0 0 0
4 0 0 0
5 0 0 0
6 0 0 0
7 0 0 0
8 0 0 0
9 0 0 0
10 0 0 0

Protocol: 0 = Disable, 6 = TCP, 17 = UDP

2.14.2.4 srv nat status

This command allows users to view NAT Port Redirection Running Table.