beautypg.com

Motorola 3347 User Manual

Page 241

background image

241

CONFIG Commands

To set up NAT pinholes, you identify the type(s) of traffic you want to redirect by por t num-
ber, and you specify the internal host to which each specified type of traffic should be
directed.

The following list identifies protocol type and por t 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 entr y in the router's pinhole table. You can name pinhole
table entries sequentially (1, 2, 3), by por t number (21, 80, 23), by protocol, or by some
other naming scheme.

set pinhole name

name

protocol-select { tcp | udp }

Specifies the type of protocol being redirected.

set pinhole name

name

external-port-start [ 0 - 49151 ]

Specifies the first por t number in the range being translated.

set pinhole name

name

external-port-end [ 0 - 49151 ]

Specifies the last por t number in the range being translated.

set pinhole name

name

internal-ip

internal-ip

Specifies the IP address of the internal host to which traffic of the specified type should be
transferred.