Question : Problem: How to publish my FTP server on Cisco Router 1811?

My Internet access basically only involved the above cisco product without firewall. And internal LAN is connected directly to this cisco router. My co-worker recently setup a ftp server, and would like publish to the Public. How can I publish this ftp to the public, be it using port-forwarding (1-to-1) or else?

Imagine my WAN IP is 202.254.254.48, and FTP server is 10.0.0.48.

Answer : Problem: How to publish my FTP server on Cisco Router 1811?

You will need to set up NAT on your router. Here is the commands you need to use:

ip nat inside source static tcp 10.0.0.48 21 202.254.254.48 21
ip nat inside source static tcp 10.0.0.48 20 202.254.254.48 20

Int s0/0 <---Internet Interface
ip nat outside

Int f0/0 <---lan interface
ip nat inside
Random Solutions  
 
programming4us programming4us