Руководство Пользователя для Netopia 2e-h

Скачать
Страница из 160
Using the Command Line Interface
Cayman 2E-H User’s Guide
4-32
November 2000
To set up NAT pinholes, you identify the type(s) of traffic you want 
to redirect by port number, and you specify the internal host to 
which each specified type of traffic should be directed.
The following list identifies protocol type and port number for 
common TCP/IP  protocols:
FTP (TCP 21)
Telnet (TCP 23)
SMTP (TCP 25),
TFTP (UDP 69)
SNMP (TCP 161, UDP 161)
set pinhole name name
Specifies the identifier for the entry in the router's pinhole table. You 
can name pinhole table entries sequentially (1, 2, 3), by port number 
(21, 80, 23), by protocol, or by some other naming scheme.
set pinhole protocol-select { tcp | udp | icmp | pptp | 
other }
Specifies the type of protocol being redirected.
set pinhole numerical-protocol [ 0 - 65535 ]
If you select 
other
, specifies the number of the protocol you want to 
translate.
set pinhole external-port-start [ 0 - 65535 ]
Specifies the first port number in the range being translated.
set pinhole external-port-end [ 0 - 65535 ]
Specifies the last port number in the range being translated.
set pinhole internal-ip internal-ip
Specifies the IP address of the internal host to which traffic of the 
specified type should be transferred.