Installation Instructions

Table Of Contents
nat Commands
542
E-DOC-CTC-20071119-0004 v1.0
nat mapadd
Add an address mapping to a nat enabled interface.
SYNTAX:
nat mapadd intf = <{loop|Internet|LocalNetwork}>
[type = <{napt|nat}]>
[outside_addr = <ip-range]>
[inside_addr = <ip-range]>
[access_list = <ip-range]>
[foreign_addr = <ip-range]>
[protocol = <{ah|egp|esp|ggp|gre|hmp|icmp|
igmp|pup|rdp|rsvp|tcp|udp|vines|xns-idp|6to4|
ipip} or number]>
[outside_port = <port-range]>
[inside_port = <port-range]>
[mode = <{auto|inbound|outbound}]>
[weight = <number{0-255}]>
where:
intf The IP interface name. REQUIRED
type The type of mapping. OPTIONAL
outside_addr The outside (typically public) IP address (range
for NAT).
OPTIONAL
inside_addr The inside (typically private) IP address (range
for NAT).
OPTIONAL
access_list The range of inside addresses the mapping is
restricted to.
OPTIONAL
foreign_addr The range of destination addresses the mapping
is restricted to.
OPTIONAL
protocol The IP protocol. OPTIONAL
outside_port The outside port number or range (only for
NAPT).
OPTIONAL
inside_port The inside port number or range (only for
NAPT).
OPTIONAL
mode The mode to create the portmap. OPTIONAL
weight The weight for the portmap. OPTIONAL