behind router - faq didn't help

Need help with FileZilla Server? Something does not work as expected? In this forum you may find an answer.

Moderator: Project members

Post Reply
Message
Author
User avatar
zinkr
500 Command not understood
Posts: 3
Joined: 2006-07-11 22:34

behind router - faq didn't help

#1 Post by zinkr » 2006-07-11 23:14

I'm behind a router and nobody can connect to my server or transfer files / directory listings

i have configured my router to forward the ftp port (21)
and i have forwarded a port range for passive mode transfers (5000-5100)
(i don't know if its correct like this ?)
Image


then i entered my external IP address in the server options (its dynamic, but for now, i change it every time i reboot)
Image

now logging in doesn't work (port 21, username: test, password: test)
Image Image

where did i go wrong ?

btw, is there an easy way to test your own ftp server ? without having to ask other people to check :?

:beer:

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

#2 Post by botg » 2006-07-12 07:34

Can you please post some logs too?

User avatar
zinkr
500 Command not understood
Posts: 3
Joined: 2006-07-11 22:34

#3 Post by zinkr » 2006-07-13 09:08

if i connect with my external IP i get an empty list

Code: Select all

Status:	Connecting to 80.201.13.44 ...
Status:	Connected with 80.201.13.44. Waiting for welcome message...
Response:	220 Inactivity timer = 120 seconds. Use 'site idle <secs>' to change.
Command:	USER test
Response:	230 User 'test' OK.  No password required.
Command:	FEAT
Response:	500 Unknown command.
Command:	SYST
Response:	215 UNIX Type: L8
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/"
Command:	TYPE A
Response:	200  TYPE is now ASCII
Command:	PASV
Response:	227 Passive mode OK (80,201,13,44,4,11 )
Command:	LIST
Response:	150 Opening data connection for /bin/ls
Response:	226 Options: -l  : 0 matches total
Status:	Directory listing successful
Command:	TYPE I
Response:	200  TYPE is now 8-bit binary
but if i connect with my internal IP it works correctly

Code: Select all

Status:	Connecting to 192.168.123.137 ...
Status:	Connected with 192.168.123.137. Waiting for welcome message...
Response:	220-FileZilla Server version 0.9.18 beta
Response:	220-written by Tim Kosse (Tim.Kosse@gmx.de)
Response:	220 Please visit http://sourceforge.net/projects/filezilla/
Command:	USER test
Response:	331 Password required for test
Command:	PASS ****
Response:	230 Logged on
Command:	FEAT
Response:	211-Features:
Response:	 MDTM
Response:	 REST STREAM
Response:	 SIZE
Response:	 MLST type*;size*;modify*;
Response:	 UTF8
Response:	 CLNT
Response:	211 End
Command:	CLNT FileZilla
Response:	200 Don't care
Command:	OPTS UTF8 ON
Response:	200 UTF8 mode enabled
Command:	SYST
Response:	215 UNIX emulated by FileZilla
Status:	Connected
Status:	Retrieving directory listing...
Command:	PWD
Response:	257 "/" is current directory.
Command:	TYPE A
Response:	200 Type set to A
Command:	PASV
Response:	227 Entering Passive Mode (192,168,123,137,19,137)
Command:	LIST
Response:	150 Connection accepted
Response:	226 Transfer OK
Status:	Directory listing successful
so i guess something is wrong with forwarding port 21 ?

User avatar
botg
Site Admin
Posts: 35566
Joined: 2004-02-23 20:49
First name: Tim
Last name: Kosse

#4 Post by botg » 2006-07-13 10:34

There seems to be an entirely different server listening at your external IP address.
Possible reasons:
- Wrong external IP address (check http://filezilla.sf.net/misc/ip.php, do not use a proxy to view that page)
- Forwarding to the wrong internal address
- Router acts as (broken) FTP server itself
- Your ISP redirects port 21 to its own server

User avatar
zinkr
500 Command not understood
Posts: 3
Joined: 2006-07-11 22:34

#5 Post by zinkr » 2006-07-13 13:49

thx! for the response

I double checked internal and external IP
I then changed the port in fileZilla settings to port 10021
(and also forwarded this port 10021)

now i get this error when if i connect with my external IP

Code: Select all

Status:	Connecting to 81.240.81.163:10021 ...
Error:	Unable to connect!
also, i don't understand the part about 'router acting as server' , how can i check that isn't the case ?

cooperspc
226 Transfer OK
Posts: 94
Joined: 2005-10-21 15:21
Location: Indiana USA

#6 Post by cooperspc » 2006-07-19 01:00

it sounds like you have 2 computers on a internal network?
and trying to connect from 1 to the other?
using an external IP
YOU CAN'T, only with internal IP's

unless you setup a DNS, some good routers/modems can do this
but with a dns you use a name not a IP

EXSAMPLE, if you have cooperspc.com on a server, on a internal network, you CAN NOT get there from another computer on a internal network
but with the DNS set up you can get there by cooperspc.com:21

cszeto
226 Transfer OK
Posts: 242
Joined: 2006-04-27 08:48
Location: Arizona, USA

#7 Post by cszeto » 2006-07-19 05:13

For the routers that do support it, it's called loop-back.
Microsoft MVP (2004 through 2008)

Post Reply