Cisco CCNA | CCNP Certification Training Site. Cisco tips and tools for exam success. logo video

ip nat inside source static

Printer-Friendly Format

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

 




Printer-Friendly Format
Home | Search | Contact Us | Tell a Friend | Text Size

2006-2012 HowtoNetwork.net All Rights Reserved. Reproduction without permission prohibited.
Reality Press, Midsummer Court, 314 Midsummer Blvd.,Milton Keynes, MK92UB, UK

This site is powered by MemberGate Membership Site Software