[Centos] ftp ftom outside the local network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



This is a multi-part message in MIME format.

------=_NextPart_000_0095_01C4D084.9F03E6B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I have Centos3.3 installed, vsftpd, apache2, ports 20&21 open on router,
firewall disabled at this time :

/etc/passwd looks like this --- ftpadmin:x:502:502::/var/www:sbin/noligin

uncommented the lines in /etc/vsftpd/vsftpd.conf :

chroot_list_enable=YES

chroot_list_file=/etc/vsftpd.chroot_list

I can access ftp from within network no problem, but using external ip it
will validate login but cannot bring up folders

Any suggestions......

This is the response I get using FileZilla (similar response using CuteFTP)

Status: Connecting to 216.201.247.147 ...
Status: Connected with 216.201.247.147. Waiting for welcome message...
Response: 220 (vsFTPd 1.2.1)
Command: USER ftpadmin
Response: 331 Please specify the password.
Command: PASS ********
Response: 230 Login successful.
Command: FEAT
Response: 211-Features:
Response: MDTM
Response: REST STREAM
Response: SIZE
Response: 211 End
Status: Connected
Status: Retrieving directory listing...
Command: PWD
Response: 257 "/"
Command: PORT 172,17,2,12,16,230
Response: 200 PORT command successful. Consider using PASV.
Command: TYPE A
Response: 200 Switching to ASCII mode.
Command: LIST
Error: Timeout detected!
Error: Could not retrieve directory listing

------=_NextPart_000_0095_01C4D084.9F03E6B0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1458" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT size=3D2>
<DIR>
<DIR>
<DIR><FONT size=3D1>
<P><SPAN class=3D812260517-22112004><FONT face=3DArial size=3D2>I have =
Centos3.3=20
installed, vsftpd, apache2, ports 20&amp;21 open on router, firewall =
disabled at=20
this time :</FONT></SPAN></P>
<P><SPAN class=3D812260517-22112004><FONT face=3DArial =
size=3D2>/etc/passwd looks like=20
this --- </FONT></SPAN><SPAN class=3D812260517-22112004><FONT =
face=3DArial=20
size=3D2>ftpadmin:x:502:502::/var/www:sbin/noligin</FONT></SPAN></P>
<P><SPAN class=3D812260517-22112004><FONT face=3DArial =
size=3D2>uncommented the lines=20
in /etc/vsftpd/vsftpd.conf :</FONT></SPAN></P>
<P><SPAN class=3D812260517-22112004><FONT face=3DArial=20
size=3D2>chroot_list_enable=3DYES</FONT></SPAN></P>
<P><SPAN class=3D812260517-22112004><FONT face=3DArial=20
size=3D2>chroot_list_file=3D/etc/vsftpd.chroot_list</FONT></SPAN></P>
<P><FONT face=3DArial size=3D2><SPAN class=3D812260517-22112004>I can =
access ftp from=20
within network no problem, but using external ip it will validate login =
but=20
cannot bring up folders</SPAN></FONT></P>
<P><FONT face=3DArial size=3D2><SPAN class=3D812260517-22112004>Any=20
suggestions......</SPAN></FONT></P>
<P><FONT face=3DArial size=3D2><SPAN class=3D812260517-22112004>This is =
the=20
response&nbsp;I get using FileZilla (similar response&nbsp;using=20
CuteFTP)</SPAN></FONT></P>
<P><FONT face=3DArial>Status: Connecting to 216.201.247.147 =
...<BR>Status:=20
Connected with 216.201.247.147. Waiting for welcome=20
message...<BR></FONT></FONT><FONT face=3DArial color=3D#008000 =
size=3D1>Response: 220=20
(vsFTPd 1.2.1)<BR></FONT><FONT face=3DArial color=3D#000080 =
size=3D1>Command: USER=20
ftpadmin<BR></FONT><FONT face=3DArial color=3D#008000 size=3D1>Response: =
331 Please=20
specify the password.<BR></FONT><FONT face=3DArial color=3D#000080 =
size=3D1>Command:=20
PASS ********<BR></FONT><FONT face=3DArial color=3D#008000 =
size=3D1>Response: 230=20
Login successful.<BR></FONT><FONT face=3DArial color=3D#000080 =
size=3D1>Command:=20
FEAT<BR></FONT><FONT face=3DArial color=3D#008000 size=3D1>Response:=20
211-Features:<BR>Response: MDTM<BR>Response: REST STREAM<BR>Response:=20
SIZE<BR>Response: 211 End<BR></FONT><FONT face=3DArial size=3D1>Status:=20
Connected<BR>Status: Retrieving directory listing...<BR></FONT><FONT =
face=3DArial=20
color=3D#000080 size=3D1>Command: PWD<BR></FONT><FONT face=3DArial =
color=3D#008000=20
size=3D1>Response: 257 "/"<BR></FONT><FONT face=3DArial color=3D#000080=20
size=3D1>Command: PORT 172,17,2,12,16,230<BR></FONT><FONT face=3DArial =
color=3D#008000=20
size=3D1>Response: 200 PORT command successful. Consider using=20
PASV.<BR></FONT><FONT face=3DArial color=3D#000080 size=3D1>Command: =
TYPE=20
A<BR></FONT><FONT face=3DArial color=3D#008000 size=3D1>Response: 200 =
Switching to=20
ASCII mode.<BR></FONT><FONT face=3DArial color=3D#000080 =
size=3D1>Command:=20
LIST<BR></FONT><FONT color=3D#ff0000 size=3D1><FONT face=3DArial>Error: =
Timeout=20
detected!<BR>Error: Could not retrieve directory=20
listing</FONT></P></DIR></DIR></DIR></FONT></FONT></DIV></BODY></HTML>

------=_NextPart_000_0095_01C4D084.9F03E6B0--




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux