beautypg.com

Nat mapadd, Nat commands – Technicolor - Thomson ST585 V6 User Manual

Page 590

background image

E-DOC-CTC-20061027-0004 v1.0

NAT Commands

566

nat mapadd

Add an address mapping to a Network Address Translation (NAT) enabled interface.

SYNTAX:

where:

nat mapadd

intf =
[type = <{napt | nat}>]
[outside_addr = ]
[inside_addr = ]
[access_list = ]
[foreign_addr = ]
[protocol = <{supported IP protocol} or number>]
[outside_port = ]
[inside_port = ]
[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.