cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
671
Views
0
Helpful
2
Replies

Port forwading Command

sairampenta
Level 1
Level 1

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 

 

1 Accepted Solution

Accepted Solutions

Gaurav Mahajan
Level 1
Level 1

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.

View solution in original post

2 Replies 2

Gaurav Mahajan
Level 1
Level 1

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.

Dear Gaurav,

Thanks for your reply. my problem solved.

Regards,

Sairam