Installation Instructions

Table Of Contents
nat Commands
E-DOC-CTC-20071119-0004 v1.0
545
nat tmpladd
Add an address mapping template.
SYNTAX:
nat tmpladd [intf = <{loop|Internet|LocalNetwork}]>
[group = <{wan|local|lan|tunnel|dmz|guest} or
number]>
[timeout = <number{0-65535}]>
[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 scope for this template. OPTIONAL
group The IP interface group scope for this template. OPTIONAL
timeout Lifetime (seconds) for this template. OPTIONAL
type The type of template. OPTIONAL
outside_addr The outside (typically public) IP address or index
(range for NAT).
REQUIRED
inside_addr The inside (typically private) IP address or index
(range for NAT).
OPTIONAL
access_list The range of inside addresses the template is
restricted to.
OPTIONAL
foreign_addr The range of destination addresses the template
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