09-03-2004 08:50 AM - edited 03-02-2019 06:14 PM
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?
Solved! Go to Solution.
09-04-2004 02:30 AM
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
09-03-2004 02:58 PM
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
09-04-2004 02:30 AM
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
09-07-2004 07:49 AM
Hi
That is what I am looking for and it works. Thank you very much.
09-04-2004 02:58 AM
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
09-07-2004 07:50 AM
Thanks. it works.
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