NAT COMMANDS
E-DOC-CTC-20100729-0006 v3.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.
793
nat mapadd
Add an address mapping to a nat enabled interface.
SYNTAX:
nat mapadd intf = <{loop|ipsec0|Internet|lan1|wan1|dmz1|
guest1}>
[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. 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
status The administrative state of mapping. OPTIONAL