NAT COMMANDS
654
DMS-CTC-20101206-0049 v1.0.Copyright 2011Technicolor. All rights reserved.
This document contains Technicolor proprietary and confidential information. Passing on and copying of this document, use,
extraction and communication of its contents, is not permitted without written authorization from Technicolor.
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}>]
[status = <{up|down}>]
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
weight The weight to be used for the template instance(s). OPTIONAL
status The administrative state of template. OPTIONAL