Command Line Interface Reference 10-99
WS2000>admin(network.wan.nat)> set
Description:
Sets NAT inbound and outbound parameters.
Syntax:
Example:
admin(network.wan.nat)>set type 1 1-to-1
admin(network.wan.nat)>set outb ip 1 209.239.44.36
admin(network.wan.nat)>set inb mode 1 enable
admin(network.wan.nat)>show nat 1
nat type : 1-to-1
one to one nat ip address : 209.239.44.36
port forwarding mode : enable
port forwarding ip address : 0.0.0.0
one to many nat mapping : subnet1 subnet2 subnet3 subnet4
set inb mode
<idx>
enable/
disable
Enables or disables port forwarding for WAN IP address index <idx> (1–8).
ip
<idx> <ip>
Forwards unspecified ports associated with WAN address <idx> to the specified
IP address <ip> (1–8).
outb ip
<idx> <ip>
Sets 1-to-1 NAT IP mapping associated with WAN address <idx> to the specified
IP address <ip> (1–8).
map
<from> <to>
Sets the subnet to WAN mapping for 1-to-many NAT relationship where <from> is
the subnet (s1, s2, s3, or s4) and <to> is the WAN address index (1-8) or “none”.
type
<idx>
none /
1-to-1 /
1-to-many
Sets the type of NAT translation for WAN address index <idx> (1-8) to one of
none, 1-to-1, or 1-to-many).