IP nat inside source static Command on CISCO Router/Switch

Other Cisco Other Cisco Material Original source

Command

IP nat inside source static

Use

This command is used to specify a map between a specific IP address (and port number if required). Used when you must use only a certain IP address or port such as SMTP.

Syntax

R1(config)#ip nat inside source static
OR
R1(config)#ip nat inside source static

Options

TCP or UDP trafific
What port to translate
What port the original should be translated to

Example

In this example, we will translate Microsoft Remote Desktop traffic to 70.55.44.11 on port 5000 to its proper port of 3389 and host 10.1.1.254.

Copy

R2(config)#ip nat inside source static tcp 10.1.1.254 3389 70.55.44.11 5000
← All Other Cisco articles Home