How to map port on Cisco Router 831

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?
LVL 7
blin2000Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
lrmooreConnect With a Mentor Commented:
With a static nat command:

ip nat inside source static tcp 172.16.5.2 21 <public IP> 21 extendable

0
 
mikebernhardtCommented:
It sounds like you're talking about doing a static translation with NAT. You might do a search on NAT in this topic area to get some background, and then come back with more specific questions...
0
 
mikebernhardtCommented:
Is your NAT already set up at all? If not, you'll also need to specify your NAT interfaces

interface [the outside interface]
 ip nat outside

interface [the inside LAN interface]
 ip nat inside
0
 
blin2000Author Commented:
After added ip nat inside source static tcp 172.16.5.2 21 interface ethernet 21, it works. Thank you.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.