ip nat inside source static
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

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
|
Back to commands department
| |