LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-07-2006, 10:14 PM   #1
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Rep: Reputation: 30
FTP Woes


I'm in the process of setting up FTP on slackware 10.2...

I have it running and I can login via shell just fine
I can login via my windows machine if i use the LOCAL IP address in my LAN, but if I try to FTP in via my .com or its direct IP (the IP of my router) all I get is:

[R] Connecting to SERVER - REMOTE -> IP=xxx.xxx.xxx.xxxx PORT=21
[R] Connected to SERVER - REMOTE
[R] Connection failed (Connection lost)

Im using a Linksys WRT54GS router and I have port 21 forwarded accordingly...

any ideas?
 
Old 08-07-2006, 10:26 PM   #2
stitchman
Member
 
Registered: Dec 2005
Distribution: Slackware 13.1
Posts: 82

Rep: Reputation: 15
your isp might block port 21 traffic, i know my ip blocks port 80. try opening a diffrent port on your router, to like port 3001, a nonstandard port, and then forward 3001 on the router to 21 on your server, just to see if that is the problem.
 
Old 08-08-2006, 05:22 AM   #3
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
no luck there unfortunately
 
Old 08-08-2006, 05:59 AM   #4
mdarby
Member
 
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795

Rep: Reputation: 30
Are you using a passive ftp connection on your client? In the past I've had to open port 20 for FTP traffic as well as 21 in Slackware.
 
Old 08-08-2006, 10:18 AM   #5
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
Which ftp server?
 
Old 08-08-2006, 09:00 PM   #6
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by mdarby
Are you using a passive ftp connection on your client? In the past I've had to open port 20 for FTP traffic as well as 21 in Slackware.
how do i do that? i have 20 forwarded as well now in my router
 
Old 08-09-2006, 07:35 AM   #7
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
bumpage
 
Old 08-09-2006, 09:29 PM   #8
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
idk guys.. i tried telling Flash FXP to FTP on port 62000... proftpd is running on port 21... so i have my router set to trigger port 62000 to my internal machine on port 21... still doesnt work... WTF mate?
 
Old 08-12-2006, 01:51 PM   #9
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
anyone? please
 
Old 08-12-2006, 05:45 PM   #10
regis_n_bits
Member
 
Registered: Mar 2006
Distribution: Slackware64-15.0
Posts: 103

Rep: Reputation: Disabled
scrupul0us,

Do you have any entries in your 'hosts.allow' and hosts.deny' files?

Can you connect to your box over the internet using TCP (i.e. telnet or ssh)? If you can use ssh then sftp might be an option for you.

The one thing you need to determine is where the TCP connection is being refused (either your box, your router, or your ISP). You may need to use tcpdump or Ethereal to try and capture the TCP traffic to see who is refusing the connection.
 
Old 08-12-2006, 06:51 PM   #11
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
i can SSH in via PuTTY just fine from any location
 
Old 08-13-2006, 09:20 PM   #12
davidsrsb
Member
 
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770

Rep: Reputation: 33
Proftpd.conf settings are critical.
Anon access is disabled by default.
It may be trying to do a reverse lookup.
 
  


Reply



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
when I use ftp://user@ftp.blah.com it works. But when I type just ftp.blah.com says.. hunterhunter Linux - General 15 03-05-2014 09:12 AM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
SuSE 9.2 FTP install Reiser woes mikemrh9 SUSE / openSUSE 2 02-17-2005 05:05 AM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 02:07 PM
FTP/samba woes... plisken Linux - General 7 07-11-2003 02:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:08 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
Open Source Consulting | Domain Registration