Page 241 / 351 Scroll up to view Page 236 - 240
241
CONFIG Commands
To set up NAT pinholes, you identify the type(s) of traffic you want to redirect by port 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 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 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 port number in the range being translated.
set pinhole name
name
external-port-end [ 0 - 49151 ]
Specifies the last port 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.
Page 242 / 351
242
set pinhole name name internal-port [ 0 - 65535 ]
Specifies the port number your Motorola Netopia® Gateway should use when forwarding
traffic of the specified type. Under most circumstances, you would use the same number
for the external and internal port.
PPPoE /PPPoA Settings
You can use the following commands to configure basic settings, port authentication set-
tings, and peer authentication settings for PPP interfaces on your Motorola Netopia® Gate-
way.
Configuring Basic PPP Settings.
NOTE:
For the DSL platform you must identify the virtual PPP interface [
vccn
], a num-
ber from 1 to 8.
set ppp module [vccn] option { on | off }
Enables or disables PPP on the Motorola Netopia® Gateway.
set ppp module [vccn] auto-connect { on | off }
Supports manual mode required for some vendors. The default
on
is not normally
changed. If auto-connect is disabled (
off
), you must manually start/stop a ppp connection.
set ppp module [vccn] mru
integer
Specifies the Maximum Receive Unit (MRU) for the PPP interface. The
integer
argument
can be any number between 128 and 1492 for PPPoE; 1500 otherwise.
set ppp module [vccn] magic-number { on | off }
Enables or disables LCP magic number negotiation.
Page 243 / 351
243
CONFIG Commands
set ppp module [vccn] protocol-compression { on | off }
Specifies whether you want the Motorola Netopia® Gateway to compress the PPP Protocol
field when it transmits datagrams over the PPP link.
set ppp module [vccn] lcp-echo-requests { on | off }
Specifies whether you want your Motorola Netopia® Gateway to send LCP echo requests.
You should turn off LCP echoing if you do not want the Motorola Netopia® Gateway to drop
a PPP link to a nonresponsive peer.
set ppp module [vccn] echo-period
integer
Specifies the number of seconds the Motorola Netopia® Gateway should wait before send-
ing another echo from an LCP echo request. The integer argument can be any number from
between 5 and 300 (seconds).
set ppp module [vccn] lost-echoes-max
integer
Specifies the maximum number of lost echoes the Motorola Netopia® Gateway should tol-
erate before bringing down the PPP connection. The integer argument can be any number
from between 1 and 20.
set ppp module [vccn] failures-max
integer
Specifies the maximum number of Configure-NAK messages the PPP module can send
without having sent a Configure-ACK message. The integer argument can be any number
between 1 and 20.
set ppp module [vccn] configure-max
integer
Specifies the maximum number of unacknowledged configuration requests that your Motor-
ola Netopia® Gateway will send. The integer argument can be any number between 1 and
20.
Page 244 / 351
244
set ppp module [vccn] terminate-max
integer
Specifies the maximum number of unacknowledged termination requests that your Motor-
ola Netopia® Gateway will send before terminating the PPP link. The integer argument can
be any number between 1 and 10.
set ppp module [vccn] restart-timer
integer
Specifies the number of seconds the Motorola Netopia® Gateway should wait before
retransmitting a configuration or termination request. The integer argument can be any
number between 1 and 30.
set ppp module [vccn] connection-type { instant-on | always-on }
Specifies whether a PPP connection is maintained by the Motorola Netopia® Gateway
when it is unused for extended periods. If you specify
always-on
, the Motorola Netopia®
Gateway never shuts down the PPP link. If you specify
instant-on
, the Motorola Neto-
pia® Gateway shuts down the PPP link after the number of seconds specified in the
time-
out
setting (below) if no traffic is moving over the circuit.
set ppp module [vccn] time-out
integer
If you specified a connection type of
instant-on
, specifies the number of seconds, in the
range 30 - 3600, with a default value of 300, the Motorola Netopia® Gateway should wait
for communication activity before terminating the PPP link.
Page 245 / 351
245
CONFIG Commands
Configuring Port Authentication.
You can use the following command to specify how
your Motorola Netopia® Gateway should respond when it receives an authentication
request from a remote peer.
The settings for port authentication on the local Motorola Netopia® Gateway must match
the authentication that is expected by the remote peer. For example, if the remote peer
requires CHAP authentication and has a name and CHAP secret for the Motorola Netopia®
Gateway, you must enable CHAP and specify the same name and secret on the Motorola
Netopia® Gateway before the link can be established.
set ppp module [vccn] port-authentication
option [ off | on | pap-only | chap-only ]
Specifying
on
turns both PAP and CHAP on, or you can select PAP or CHAP. Specify the
username
and
password
when port authentication is turned on (both CHAP and PAP,
CHAP or PAP.) Authentication must be enabled before you can enter other information.
set ppp module [vccn] port-authentication username
username
The
username
argument is 1 – 255 alphanumeric characters. The information you enter
must match the username configured in the PPP peer's authentication database.
set ppp module [vccn] port-authentication password
password
The
password
argument is 1 – 128 alphanumeric characters. The information you enter
must match the password used by the PPP peer.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top