08-18-2016 10:37 PM - edited 03-05-2019 04:31 AM
Dear All,
In the attached diagram ABC Application is installed in PC ip add 10.0.0.5 Gw 10.0.0.1.
Destination Server IP address 202.xx.xx.xx Port : 4850.
I can nat ip address in R1. My requirement is can i also NAT Destination Port.
Example : usually i put dest port as 4850 in our application. if i want to choose another port what command in R1 cisco Router.
Thanks in advance.
Regards,
Sairam
Solved! Go to Solution.
08-20-2016 07:05 AM
Hi,
I did not quite understand the requirement.
But you can configure one-to-one static NAT.
ip nat inside source static 10.0.0.5 202.xx.xx.xx extendable.
above will open all ports.
if you want to use another specific port.
ip nat inside source static tcp 10.0.0.5 <port> 202.xx.xx.xx <port>
On R1.
ip nat inside --> on the interface connecting to the server ip 10.0.0.5
ip nat outside --> on the interface connecting to the internet.
08-20-2016 07:05 AM
Hi,
I did not quite understand the requirement.
But you can configure one-to-one static NAT.
ip nat inside source static 10.0.0.5 202.xx.xx.xx extendable.
above will open all ports.
if you want to use another specific port.
ip nat inside source static tcp 10.0.0.5 <port> 202.xx.xx.xx <port>
On R1.
ip nat inside --> on the interface connecting to the server ip 10.0.0.5
ip nat outside --> on the interface connecting to the internet.
08-22-2016 11:02 PM
Dear Gaurav,
Thanks for your reply. my problem solved.
Regards,
Sairam
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide