IP nat inside source static Command on CISCO Router/Switch

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 <original IP> <destination IP>
OR
R1(config)#ip nat inside source static <protocol> <original IP> <port> <translated IP> <translated port>

Options

<protocol> TCP or UDP trafific
<oringinal port> What port to translate
<translated port> What port the original should be translated to

Example

IP nat inside source static Command on CISCO Router/Switch 1

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.

R2(config)#ip nat inside source static tcp 10.1.1.254 3389 70.55.44.11 5000

Related Articles

guest
0 Comments
Inline Feedbacks
View all comments