cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
882
Views
0
Helpful
5
Replies

how to map port on router 831

blin
Level 1
Level 1

We have a cisco router 831 with V12.3 and would like to map the ftp port pointing to inside compuetr with ip 172.16.5.2. How to do that?

1 Accepted Solution

Accepted Solutions

interface Ethernet0

ip nat inside

!

interface Ethernet1

ip nat outside

!

ip nat inside source static tcp 172.16.5.2 21 interface ethernet 1 21

View solution in original post

5 Replies 5

Richard Burts
Hall of Fame
Hall of Fame

This duplicates a question you posted on another forum.

I do not understand what you are attempting to accomplish when you say you want to map the ftp port pointing to inside computer. Can you explain what is the problem you are trying to solve?

HTH

Rick

HTH

Rick

interface Ethernet0

ip nat inside

!

interface Ethernet1

ip nat outside

!

ip nat inside source static tcp 172.16.5.2 21 interface ethernet 1 21

Hi

That is what I am looking for and it works. Thank you very much.

jasiniaq1
Level 1
Level 1

I assume your router does NAT and the external (public) IP address is dynamic?

Here is how I did it on c831 with IOS 12.3(4)T3 for port 80 (HTTP). Inside PC is 10.10.10.2 in my case:

ip nat inside source static tcp 10.10.10.2 80 interface Dialer1 80

Thanks. it works.