Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-07-2006, 11:14 PM
|
#1
|
Member
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159
Rep:
|
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?
|
|
|
08-07-2006, 11:26 PM
|
#2
|
Member
Registered: Dec 2005
Distribution: Slackware 13.1
Posts: 82
Rep:
|
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.
|
|
|
08-08-2006, 06:22 AM
|
#3
|
Member
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159
Original Poster
Rep:
|
no luck there unfortunately
|
|
|
08-08-2006, 06:59 AM
|
#4
|
Member
Registered: Nov 2004
Location: Columbus, Ohio
Distribution: Slackware-Current / Debian
Posts: 795
Rep:
|
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.
|
|
|
08-08-2006, 11:18 AM
|
#5
|
Member
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770
Rep:
|
Which ftp server?
|
|
|
08-08-2006, 10:00 PM
|
#6
|
Member
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159
Original Poster
Rep:
|
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
|
|
|
08-09-2006, 08:35 AM
|
#7
|
Member
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159
Original Poster
Rep:
|
bumpage 
|
|
|
08-09-2006, 10:29 PM
|
#8
|
Member
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159
Original Poster
Rep:
|
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?
|
|
|
08-12-2006, 02:51 PM
|
#9
|
Member
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159
Original Poster
Rep:
|
anyone? please
|
|
|
08-12-2006, 06:45 PM
|
#10
|
Member
Registered: Mar 2006
Distribution: Slackware64-15.0
Posts: 103
Rep: 
|
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.
|
|
|
08-12-2006, 07:51 PM
|
#11
|
Member
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159
Original Poster
Rep:
|
i can SSH in via PuTTY just fine from any location
|
|
|
08-13-2006, 10:20 PM
|
#12
|
Member
Registered: Oct 2003
Location: Kuala Lumpur, Malaysia
Distribution: Slackware 13.37 current
Posts: 770
Rep:
|
Proftpd.conf settings are critical.
Anon access is disabled by default.
It may be trying to do a reverse lookup.
|
|
|
All times are GMT -5. The time now is 06:38 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|