You are not logged in.

#1 2009-02-18 17:56:12

xcession
Member
From: Udon Thani, Thailand
Registered: 2008-05-07
Posts: 72
Website

[SOLVED] Problem with ftp connectrion from outside

Hi,
I have setup a ftp server using vsftpd by following the guide in wiki (using the "Without xinetd (simpler)" method).
By connecting to the ftp server from clients in same network(LAN) and everything seem to works fine...
but when I connect from the outside(Internet) It said:

WinSock 2.0 -- OpenSSL 0.9.8g 19 Oct 2007
[R] Connecting to my.homeip.net -> DNS=my.homeip.net IP=xxx.xxx.xxx.xxx PORT=21
[R] Connection failed (Connection timed out)
[R] Delaying for 120 seconds before reconnect attempt #1

I'm already forwarded the port 21 to the server and added "vsftpd: ALL" to hosts.allow file.

Any idea?:/

Thanks in advanced,
xcession.

Last edited by xcession (2009-02-27 05:58:10)

Offline

#2 2009-02-19 07:50:33

xcession
Member
From: Udon Thani, Thailand
Registered: 2008-05-07
Posts: 72
Website

Re: [SOLVED] Problem with ftp connectrion from outside

anyone? sad

Offline

#3 2009-02-26 19:31:03

KimTjik
Member
From: Sweden
Registered: 2007-08-22
Posts: 715

Re: [SOLVED] Problem with ftp connectrion from outside

Are you behind a firewall? And if so how is it configured?

One possibility is that the firewall has port 20 and 21 open but the ftp-client is set to passive mode, which usually is recommended. Passive mode does however depend on some extra settings both in vsftpd.conf and the firewall since it means it's not strictly only working against port 20 and 21. Test to set the client to active mode and see if that works.

Offline

#4 2009-02-27 06:01:49

xcession
Member
From: Udon Thani, Thailand
Registered: 2008-05-07
Posts: 72
Website

Re: [SOLVED] Problem with ftp connectrion from outside

I've found what's cause the problem... there's service filters in my router beside the firewall...
All I need to do is to turn FTP connections filter off.

Thanks for the reply... smile

Last edited by xcession (2009-02-27 06:02:28)

Offline

Board footer

Powered by FluxBB