LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-11-2006, 03:06 PM   #1
Ab3n
Member
 
Registered: Sep 2004
Location: Colorado, USA
Distribution: CentOS 5
Posts: 144

Rep: Reputation: 15
Can't ftp into server when outside the network


I have a slack 10.2 machine with proftpd setup, but whenever I am outside my network I have trouble getting into the server. I have ports 20 and 21 forwarded fine, I'm using active mode (never could get passive mode to work) and here is the error smartftp gives me:

Code:
[14:00:07] 230 User hewitsonj logged in.
[14:00:07] SYST
[14:00:07] 215 UNIX Type: L8
[14:00:07] FEAT
[14:00:08] 211-Features:
[14:00:08]  MDTM
[14:00:08]  REST STREAM
[14:00:08]  SIZE
[14:00:08] 211 End
[14:00:08] PWD
[14:00:08] 257 "/shares/www" is current directory.
[14:00:08] TYPE A
[14:00:08] 200 Type set to A
[14:00:16] PORT 129,82,18,61,6,189
[14:00:16] 200 PORT command successful
[14:00:16] LIST -aL
[14:00:56] Timeout (40s).
[14:00:56] Active Help: http://www.smartftp.com/support/kb/index.php/74
[14:00:56] Client closed the connection.
It appears as though I'm connected and logged in, but I just can't browse any files!!! Again, everything works fine when within the network...Thanks!
 
Old 03-11-2006, 04:06 PM   #2
sipsipi
Member
 
Registered: Dec 2005
Location: Chicago
Distribution: Fedora and Redhat
Posts: 86

Rep: Reputation: 15
If you are using iptables, or perhaps even if not, make sure you have:

prompt# lsmod

ip_conntrack 56989 4 ip_nat_ftp,ip_nat,ip_conntrack_ftp,ipt_state
nfnetlink 10713 2 ip_nat,ip_conntrack

something like the above.

You are prob missing the NAT module for FTP.

Good luck young grasshopper.
 
Old 03-11-2006, 04:09 PM   #3
Ab3n
Member
 
Registered: Sep 2004
Location: Colorado, USA
Distribution: CentOS 5
Posts: 144

Original Poster
Rep: Reputation: 15
This is what I get when I type lsmod:

Code:
Module                  Size  Used by    Not tainted
uhci                   24284   0  (unused)
usbcore                59148   1  [uhci]
8139too                13928   1
mii                     2272   0  [8139too]
crc32                   2880   0  [8139too]
pcmcia_core            39172   0
ide-scsi                9392   0
agpgart                45508   0  (unused)
 
Old 03-20-2006, 06:54 PM   #4
Ab3n
Member
 
Registered: Sep 2004
Location: Colorado, USA
Distribution: CentOS 5
Posts: 144

Original Poster
Rep: Reputation: 15
This is the error I get from FileZilla:

Code:
Response:	200 PORT command successful
Command:	LIST
Error:	Timeout detected!
Error:	Could not retrieve directory listing
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
backup server ; network file system / ftp-server ? markus1982 Linux - Security 5 06-06-2007 05:15 PM
network install windows software from ftp server john lee Linux - Newbie 3 06-07-2005 04:25 AM
Need a Distro for FTP/Web Server in MS Network Kevir Linux - Distributions 6 08-18-2004 07:30 AM
Connection to remote FTP server which has the same domain name as my network dws Linux - Newbie 2 05-26-2004 08:39 AM
SuSE 8.2 network install, cannot connect to ftp server Cerberus71 Linux - Laptop and Netbook 3 11-12-2003 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:48 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration