User manual
Overview
5-28
ip nat <inside | outside>
source list <access-list
name> overload interface
<interface name>
•<inside|outside> – Defines the interface as private (inside) or public
(external). NAT translations refer to this keyword to identify the
translations applied to incoming packets on an interface.
Refer to ip on page 7-9 for details on marking an interface as private
(inside) or public (external).
• source list <access-list name> – Use the keyword
source to add source
address translation. Use the keyword
list (access list) to specify the
intresting traffic for NAT. This NAT’s the source IP address of the traffic
matching the access list.
• interface <interface name> overload– Public or outgoing interface name.
The source IP address of the traffic gets translated to the IP adress of the
selected interface.
Note Use this command to configure port NAT.
ip nat <inside | outside>
<source | destination>
static <local-ip>
[<tcp|udp> <1-65535>]
<nat-ip> <1-65535>
• <source|destination> – Specifies to NAT the source or destination IP
address of packet.
• static <local IP> – Identifies the translation as a static transaltion and
identifies the IP address of the incoming packet.
• <tcp|udp> <1-65535> – Selects the desired IP protocol type and port
number for the incoming packet.
• <nat-ip> <1-65535> – NATed IP address and port number to which the
packets IP address and port number must be changed.
The port number <1-65535> is valid only for destination NAT.
Note Use this command to configure static NAT.
route Establish static routes.
• A.B.C.D – IP destination prefix.
• A.B.C.D/M – IP destination prefix.
routing Turn on IP routing.
ssh Secured Shell (SSH) Server.
• port– Listening port. The value can be between 0-65536.
• rsa – RSA encryption key.
• keypair-name – Configures a RSA keypair used for encryption.
• WORD – RSA keypair name.
telnet Telnet server.
• port – Value of the listening port. The value can be between 0-65535.