Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting Active FTP to work

Status
Not open for further replies.

ComDawg

Vendor
Dec 14, 2001
18
0
0
US
I have a cisco 1720 that is my DHCP server asa well as the internet gateway. Everything works well except using ftp from command prompt. I can FTP from my browser and transfer files fine. If I go to a command prompt and do ftp I can connect but no transfer. I always get timed out. Any help would be greatly appreciated. Some strings removed for security.

Current configuration : 1590 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname XXXXXXXXX
!
enable secret XXXXXXXXXXXXX/
enable password XXXXXXXXXXX
!
!
!
!
!
memory-size iomem 25
ip subnet-zero
ip telnet source-interface Serial0
ip dhcp excluded-address 192.168.1.0 192.168.1.99
ip dhcp excluded-address 192.168.1.1 192.168.1.99
!
ip dhcp pool WORKSTATIONS
network 192.168.1.0 255.255.255.0
domain-name KW.WAN
dns-server 168.215.165.186
default-router 192.168.1.1
lease 7
!
!
!
!
!
interface Serial0
description T1 to Time Warner
ip address 209.234.140.158 255.255.255.252
ip nat outside
encapsulation ppp
!
interface FastEthernet0
description Time Warner Lan
ip address 192.168.1.1 255.255.255.0
ip nat inside
speed auto
!
!
ip nat pool TW-1 66.194.4.81 66.194.4.81 netmask 255.255.255.252
ip nat inside source list 1 pool TW-1 overload
ip nat inside source static tcp 192.168.1.56 5632 66.194.4.81 5632 extendable
ip nat inside source static tcp 192.168.1.56 5631 66.194.4.81 5631 extendable
ip nat inside source static tcp 192.168.1.15 5405 66.194.4.81 5405 extendable
ip classless
ip route 0.0.0.0 0.0.0.0 209.234.140.157
ip http server
!
access-list 1 permit 192.168.0.0 0.0.255.255
!
line con 0
transport input none
line aux 0
line vty 0 4
password RMAThis
login
!

Am I missing something?
Thanks
 
There's no problem if you can connect and transfer/receive files via FTP on your browser or other FTP GUI clients. Since your FTP server is behind a NAT router, you need to use PASV mode which is supported by most FTP GUI clients and even your browser.

Using FTP commands to enter PASV mode is freakin troublesome IMO. You can try to use "literal xxxx" and enter those RAW FTP commands in the following URLs to work with your FTP server.


e.g.

literal pasv

But I never try that cos it wastes my time.

If you can't even use your FTP GUI clients/Browser, then we should start checking the NAT settings.
 
Hi Dawg

Try this:

Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip ftp passive
Router(config)#^Z
Router#
02:19:26: %SYS-5-CONFIG_I: Configured from console by console
Router#

EB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top