Ap51xx>admin(network.wan.nat)> set – Motorola AP-51XX User Manual

Page 379

Advertising
background image

8-45

AP51xx>admin(network.wan.nat)> set

Description:

Sets NAT inbound and outbound parameters.

Syntax:

Example:

admin(network.wan.nat)>

set type 2 1-to-many

admin(network.wan.nat)>

set ip 2 10.1.1.1

(this command is used when NAT is 1-to-1)

admin(network.wan.nat)>

show 2

WAN IP Mode

: enable

WAN IP Address

: 157.235.91.2

NAT Type

: 1-to-many

Inbound Mappings

: Port Forwarding

unspecified port forwarding mode

: enable

unspecified port fwd. ip address

: 111.223.222.1

one to many nat mapping

-------------------------------------------------------------------------------

LAN No.

WAN IP

-------------------------------------------------------------------------------

1

157.235.91.2

2

10.1.1.1

For an overview of the NAT options available using the applet (GUI), see

Configuring Network Address Translation (NAT) Settings on

page 5-21

.

set type

<index>

<type>

Sets the type of NAT translation for WAN address index <idx> (

1

-

8

) to

<type> (none, 1-to-1, or 1-to-many).

ip

<index>

<ip>

Sets NAT IP mapping associated with WAN address <idx> to the
specified IP address <ip>.

inb

<index>

<ip>
<mode>

Sets inbound IP address for specified index <index> <ip address>
Sets inbound mode for specified index <index> <enable/disable>

outb

<index>

<ip>
<from> <to>

Sets outbound IP address for specified index <index> <ip address>
Sets outbound NAT destination <LAN1 or LAN2> <WAN ip 1-8 or None>.

Advertising