I have setup vsftpd on my Linux machine. I have enabled local users to login in the /etc/vsftp.conf file. I can succesfully login, but can't connect to the data socket. (see below). What haven't I done yet.
I have checked the files in /home/alexg are all owned by that user. The permissions on the directory is drwxr-xr-x
STATUS:> Connect: Tuesday 13:30:41 03-04-2003
STATUS:> Connecting to 217.40.**.***
STATUS:> Connecting to 217.40.**.*** (ip = 217.40.**.***)
STATUS:> Socket connected. Waiting for welcome message...
220 Welcome to the **** FTP Server. This is part of a private network. Do not attempt to login unless you have permission from the **** Group
STATUS:> Connected. Authenticating...
COMMAND:> USER alexg
331 Please specify the password.
COMMAND:> PASS ********
230 Login successful. Have fun.
STATUS:> Login successful
COMMAND:> TYPE I
200 Binary it is, then.
COMMAND:> pwd
257 "/home/alexg"
COMMAND:> TYPE A
200 ASCII tastes bad, dude.
STATUS:> Retrieving directory listing...
COMMAND:> PASV
227 Entering Passive Mode (217,40,***,***,***,***)
COMMAND:> LIST
STATUS:> Connecting data socket...
ERROR:> Failed to establish data socket
I have checked the files in /home/alexg are all owned by that user. The permissions on the directory is drwxr-xr-x
STATUS:> Connect: Tuesday 13:30:41 03-04-2003
STATUS:> Connecting to 217.40.**.***
STATUS:> Connecting to 217.40.**.*** (ip = 217.40.**.***)
STATUS:> Socket connected. Waiting for welcome message...
220 Welcome to the **** FTP Server. This is part of a private network. Do not attempt to login unless you have permission from the **** Group
STATUS:> Connected. Authenticating...
COMMAND:> USER alexg
331 Please specify the password.
COMMAND:> PASS ********
230 Login successful. Have fun.
STATUS:> Login successful
COMMAND:> TYPE I
200 Binary it is, then.
COMMAND:> pwd
257 "/home/alexg"
COMMAND:> TYPE A
200 ASCII tastes bad, dude.
STATUS:> Retrieving directory listing...
COMMAND:> PASV
227 Entering Passive Mode (217,40,***,***,***,***)
COMMAND:> LIST
STATUS:> Connecting data socket...
ERROR:> Failed to establish data socket