Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-12-2003, 01:56 PM   #1
LQ Newbie
Registered: Nov 2003
Posts: 3

Rep: Reputation: 0
Question Problems using Pure-FTPd server...

Here's my setup-

Windows XP
Connected to router
IP via static DHCP (

LFS-4.1 linux FTP server
running Pure-FTPd 1.0.14
server starts on system startup
IP is static (
this machine on router's DMZ

command used to start PureFTPd-
/usr/sbin/pure-ftpd -B -E -u 500 -l unix -A -p 60000:61000 -P -S0.0.0.0,21

The problem occurs when I access the server from the internet through my domain name.

The problems occur when I try to do a listing of stuff in the current directory. These problems only happen when trying to connect through the domain name. If I connect through local IP, everything works fine.

If I use a Windows client to connect to the domain name (AceFTP Freeware 3) I can connect no problem. It uses PASV and uses a port in the specified range. If I try to connect from the same machine but with XP's command line ftp, it tries to do a PORT command and stalls (I never let it give a message, but I know it won't work because it gives a local ip instead of my cable modem's). If I use ncftp on the server itself, and connect to itself, it gives a correct ip (my cable modem's), a correct port, but I get 2 connection refused messages.

I have talked with my cable internet provider (Astound in St Cloud MN) and they say they don't block any ports so that's not my problem.

I guess I have 2 questions-

1. Why does the Windows client connect correctly using PASV but ncftp on linux doesn't?

2. How do I make the server give my cable modem's ip for clients that want to use the PORT command?

Thanks all ahead of time.
Old 11-12-2003, 01:58 PM   #2
LQ Newbie
Registered: Nov 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Oh, there is no firewall at the moment on the server. I want to get this working first. since the server is on the DMZ, it should be getting everything.


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
Can't log in pure-ftpd server with IE, but can with command prompt. Yonderknight Linux - Software 16 12-01-2005 01:14 AM
Forward to another ftp-server with pure-ftpd didi86 Linux - Software 0 12-20-2004 01:55 PM
Pure-FTPd, Anonymous account problems. LYNZH Linux - Software 0 09-17-2004 09:26 AM
Set up ftp server with pure-ftpd aeruzcar Linux - Software 7 04-15-2004 08:43 AM
Pure-FTPD Problems MRK Linux - Software 2 06-30-2003 12:49 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:54 AM.

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