NAT Commands
E-DOC-CTC-20060414-0002 v1.0
512
nat mapadd
Add an address mapping to a Network Address Translation (NAT) enabled interface.
SYNTAX:
where:
nat mapadd
intf = <string>
[type = <{napt | nat}>]
[outside_addr = <ip-range>]
[inside_addr = <ip-range>]
[access_list = <ip-range>]
[foreign_addr = <ip-range>]
[protocol = <{supported IP protocol} or number>]
[outside_port = <port-range>]
[inside_port = <port-range>]
[mode = <{auto | inbound | outbound}>]
intf
The IP interface name.
Note
The specified interface must be an existing NAT enabled interface.
REQUIRED
type
The type of NAT map to be used.
Choose between:
napt
: The map is a Network Address Port Translation (NAPT) map or a
port-shifting NAT map.
nat
: The map is a basic NAT map or a two-way NAT map.
OPTIONAL
outside_addr
The outside (typically public) IP address.
Inbound: This map will only apply if the destination IP address is part of
the outside address(es).
Outbound: Represents the address(es) to be used as source address
after translation.
Allowed values are:
An IP address (A.B.C.D or A.D, meaning A.0.0.D).
A range of IP addresses (A.B.C.[D-E]) (only for NAT).
An IP subnet (A.B.C.D/M) (only for NAT).
REQUIRED for
NAT maps
and NAPT
maps.
OPTIONAL for
port-shifting
maps.
inside_addr
The inside (typically private) IP address.
Inbound: Represents the address(es) to be used as destination address
after translation.
Outbound: This map will only apply if the source IP address is part of
the inside address(es).
Allowed values are:
An IP address (A.B.C.D or A.D, meaning A.0.0.D).
A range of IP addresses (A.B.C.[D-E]) (only for NAT).
An IP subnet (A.B.C.D/M (only for NAT)).
The default is
““
(unmapped).
Note
If specified, the number of inside addresses must be equal to the
number of outside addresses.
OPTIONAL for
NAT maps
and NAPT
maps.
REQUIRED for
port-shifting
maps.
Summary of Contents for SpeedTouch 516
Page 2: ......
Page 3: ...SpeedTouch 516 v6 536 v6 546 v6 CLI Reference Guide ...
Page 30: ...ADSL Commands E DOC CTC 20060414 0002 v1 0 10 ...
Page 61: ...ATM Commands E DOC CTC 20060414 0002 v1 0 41 atm oam ping Send ATM loopback cells ...
Page 86: ...AutoPVC Commands E DOC CTC 20060414 0002 v1 0 66 ...
Page 94: ...Config Commands E DOC CTC 20060414 0002 v1 0 74 ...
Page 130: ...DHCP Commands E DOC CTC 20060414 0002 v1 0 110 dhcp client ifdelete Delete a DHCP client ...
Page 315: ...Expr Commands E DOC CTC 20060414 0002 v1 0 295 EXAMPLE 1 ...
Page 317: ...Expr Commands E DOC CTC 20060414 0002 v1 0 297 EXAMPLE 2 ...
Page 322: ...Expr Commands E DOC CTC 20060414 0002 v1 0 302 ...
Page 360: ...GRP Commands E DOC CTC 20060414 0002 v1 0 340 ...
Page 382: ...IDS Commands E DOC CTC 20060414 0002 v1 0 362 ...
Page 404: ...Interface Commands E DOC CTC 20060414 0002 v1 0 384 ...
Page 446: ...IP Commands E DOC CTC 20060414 0002 v1 0 426 ...
Page 482: ...Label Commands E DOC CTC 20060414 0002 v1 0 462 ...
Page 500: ...MBUS Commands E DOC CTC 20060414 0002 v1 0 480 ...
Page 574: ...PPTP Commands E DOC CTC 20060414 0002 v1 0 554 ...
Page 602: ...Service Commands E DOC CTC 20060414 0002 v1 0 582 ...
Page 618: ...SNMP Commands E DOC CTC 20060414 0002 v1 0 598 ...
Page 628: ...Software Commands E DOC CTC 20060414 0002 v1 0 608 ...
Page 656: ...Upgrade Commands E DOC CTC 20060414 0002 v1 0 636 ...
Page 684: ...System Logging Messages E DOC CTC 20060414 0002 v1 0 664 ...
Page 694: ...Supported Key Names E DOC CTC 20060414 0002 v1 0 674 ...
Page 709: ......