User guide

Network address translation - NAT NAT command reference
iMG/RG Software Reference Manual (IPNetwork Functions)
4-150
Example The example below forwards TCP port 25 requests on the WAN interface to
10.10.10.10 port 80:
--> nat add resvmap rm1 interfacename WAN 10.10.10.10 tcp 25
The example below forwards TCP port 80 to 90 requests on the WAN interface to
10.10.10.10 ports 8080 to 8090. Note that the first range must be the same size as the
second range:
--> nat add resvmap rm2 interfacename WAN 10.10.10.10 tcp 80 90 8080 8090
See also NAT ENABLE
SECURITY LIST INTERFACES
4.4.5.1.12 NAT ADD RESVMAP INTERFACENAME
Syntax
NAT ADD RESVMAP <name> INTERFACENAME <interfacename> <internalip>
{ICMP|IGMP|IP|EGP|RSVP|OSPF|IPIP|ALL|GRE|Protocol<number> }
Option Description Default Value
name An arbitrary name that identifies a reserved mapping
configuration. It can be made up of one or more letters
or a combination of letters and digits, but it cannot start
with a digit.
N/A
interface name The name of an existing security interface (external or
DMZ) created and connected to an inside interface
(DMZ or internal) using the NAT ENABLE command.
To display security interfaces, use the SECURITY LIST
INTERFACES command.
N/A
internalip The IP address of an individual host inside the network
(internal or DMZ interface type).
N/A
portno Either a single TCP or UDP port number that you want
to use in your reserved mapping configuration, or the
first port number in the range of ports.
N/A
2ndportno The second TCP or UDP port number in the range that
started with the port specified in portno.
N/A
localportno Either a single internal TCP or UDP port number or the
first port number in the range of external ports.
N/A
2ndlocalportno The second internal TCP or UDP port number in the
range of external ports to be used if you have specified
a localportno.
N/A