Networking Forums

Networking Forums > Computer Networking > Linux Networking > Question on PureFTPd Connection

Reply
Thread Tools Display Modes

Question on PureFTPd Connection

 
 
PowerLifter1450@gmail.com
Guest
Posts: n/a

 
      11-15-2006, 05:08 AM
Hi everyone, I setup a PureFTPd on my Linux Fedora2 server n my home
network. On any of my home computers I can log into the FTP server fine
and see the correct directories. The IP address is the following:
ftp://enetwork.no-ip.org:9997

[I replaced port 20 with 9996, and port 21 with 9997 in the
/etc/services file and forward both ports to the local IP address of
the host machine)

When I try to log-in online it accepts my log-in info but when
searching for the directory contents it says

******
An error occurred opening that folder on the FTP server. Make sure you
have permission to access that folder

Details:
200 TYPE is now ASCII
200 PORT command successful
425 Could not open data connection to port XXXX* : connection timed out
*******

* = the port number is always different; usually in the 2000s, but last
time it was 3018 --- Not even sure why it would keep changing.

I am just setting this up as a learning experience, and would
appreciate any help. Thanks a lot,

--Eric

 
Reply With Quote
 
 
 
 
ynotssor
Guest
Posts: n/a

 
      11-15-2006, 05:18 AM
In news:(E-Mail Removed) oups.com,
(E-Mail Removed) <(E-Mail Removed)> wrote:

> When I try to log-in online it accepts my log-in info but when
> searching for the directory contents it says
> ******
> An error occurred opening that folder on the FTP server. Make sure you
> have permission to access that folder
>
> Details:
> 200 TYPE is now ASCII
> 200 PORT command successful
> 425 Could not open data connection to port XXXX* : connection timed
> out
> *******
> * = the port number is always different; usually in the 2000s, but
> last time it was 3018 --- Not even sure why it would keep changing.
>
> I am just setting this up as a learning experience, and would
> appreciate any help. Thanks a lot,


If you have netfilter/iptables running, do you have the ip_conntrack_ftp
kernel module loaded? lsmod will tell you so.

Also, do you have a RELATED,ESTABLISHED rule in your iptables?

 
Reply With Quote
 
David M
Guest
Posts: n/a

 
      11-15-2006, 09:17 AM
On Tue, 14 Nov 2006 22:08:50 -0800, PowerLifter1450 rearranged some
electrons to form:

> Hi everyone, I setup a PureFTPd on my Linux Fedora2 server n my home
> network. On any of my home computers I can log into the FTP server fine
> and see the correct directories. The IP address is the following:
> ftp://enetwork.no-ip.org:9997
>
> [I replaced port 20 with 9996, and port 21 with 9997 in the
> /etc/services file and forward both ports to the local IP address of
> the host machine)
>
> When I try to log-in online it accepts my log-in info but when
> searching for the directory contents it says
>
> ******
> An error occurred opening that folder on the FTP server. Make sure you
> have permission to access that folder
>
> Details:
> 200 TYPE is now ASCII
> 200 PORT command successful
> 425 Could not open data connection to port XXXX* : connection timed out
> *******
>
> * = the port number is always different; usually in the 2000s, but last
> time it was 3018 --- Not even sure why it would keep changing.
>
> I am just setting this up as a learning experience, and would
> appreciate any help. Thanks a lot,
>
> --Eric



google: ftp passive mode

You need to set the range of ports used by passive mode in your
configuration, then make sure that range of ports can pass
through your firewall.


--
David M (dmacchiarolo)
http://home.triad.rr.com/redsled
T/S 53
sled351 Linux 2.4.18-14 has been up 48 days 18:14

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on PureFTPd Connection PowerLifter1450@gmail.com Linux Networking 6 11-18-2006 11:26 AM
Question of VPN connection. Pet @ www.gymratz.co.uk ;¬) Home Networking 0 11-09-2006 12:54 PM
PureFTPD / ls, dir > 500 Unknown command. akede2001@yahoo.com Linux Networking 1 10-13-2005 01:16 AM
PureFTPd integrated to MS SQL Server Shabam Linux Networking 0 08-24-2005 09:32 AM
Connection question PeteIvy Broadband 4 11-01-2004 10:29 PM



1 2 3 4 5 6 7 8 9 10 11