Datasheet

Command Line Interface Reference 8-39
AP5131>admin(network.wan.nat)> set
Description:
Sets NAT inbound and outbound parameters.
Syntax:
Example:
admin(network.wan.nat)>set type 1-to-1
admin(network.wan.nat)>set ip 157.235.91.2
admin(network.wan.nat)>set mode 2 disable
admin(network.wan.nat)>set unspec-ip 2 111.223.222.1
admin(network.wan.nat)>show 2
WAN IP Mode : disable
WAN IP Address : 157.235.91.2
NAT Type : 1-to-many
1 to 1 Outbound Mappings : LAN
Inbound Mappings : Port Forwarding
unspecified port forwarding mode : disable
unspecified port fwd. ip address : 111.223.222.1
For an overview of the AP-5131 NAT options available using the applet (GUI), see Configuring Network Address Translation (NAT)
Settings on page 5-18.
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>.
mode <index> enable/disable Enable or disable the AP-5131’s Unspecified Port Forwarding mode for the
designated NAT index.
unspec-ip <index> <ip> Forward unspecified ports for the defined NAT index to the defined IP address.