Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 479
  • Last Modified:

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?
0
blin2000
Asked:
blin2000
  • 2
1 Solution
 
lrmooreCommented:
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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now