can't connect through router

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

Moderator: Project members

Message
Author
Volkmar
504 Command not implemented
Posts: 9
Joined: 2004-08-09 15:56

can't connect through router

#1 Post by Volkmar » 2004-08-09 16:18

Hi

I cannot connect my Filezilla FTP Server to the Internet. Internally it works fine.

I have ADSL; I am behind an ethernet router (E-Tech). I have forwarded port 21 in my router, both TCP and UDP, to my computer's internal IP, but no connection from the Internet can be made with my FTP Server.

I followed instructions in the settings. I have specified my external IP address, I have specified the port range for PASV transfers, and I forwarded port 21 in my router.

For other apps like DC++ and emule I have done the same, and they work fine. I run Win XP and the latest FileZilla Server software.
I really don't understand why I can't get my Filezilla FTP Server to connect to the Internet.

Can anyone help me with this?

thanks!

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

#2 Post by botg » 2004-08-09 17:57

Did you read the FAQ in this forum? You have to forward all ports in your selected PASV port range as well.

Volkmar
504 Command not implemented
Posts: 9
Joined: 2004-08-09 15:56

Still no connection

#3 Post by Volkmar » 2004-08-10 09:58

Thanks for your quick reply.

Yes, I have selected ports range 5000 - 5004 for PASV file transfers, and I have forwarded those ports in my router to my internal PC IP as well. Still no connection can be made with my FTP Server from the Internet.

I have to specify those ports individually in my router, therefore I chose to only use a small ports range for PASV file transfer. Should I try any specific ports range? (Instructions said range 5000-5100 should work).

I hope so much to solve this problem. I would really love to use this FTP Server. Thanks.

Volkmar

Halo
500 Command not understood
Posts: 5
Joined: 2004-08-10 14:15

#4 Post by Halo » 2004-08-10 14:25

Do you have a software firewall?
Is it set to allow filezilla to the net?
Do you have port forwarding configured in your software firewall?

Volkmar
504 Command not implemented
Posts: 9
Joined: 2004-08-09 15:56

#5 Post by Volkmar » 2004-08-10 16:14

Yes, I run Norton Firewall, as part of Norton System works and Internet Security. However, that cannot be the problem, cause it won't work even if I turn my firewall off.

??? Any other suggestions?

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

#6 Post by botg » 2004-08-10 18:02

Some firewalls can't be disabled properly, only uninstallation of the firewall helps in this case.

Volkmar
504 Command not implemented
Posts: 9
Joined: 2004-08-09 15:56

#7 Post by Volkmar » 2004-08-10 18:29

I cannot connect to my FTP Server from the Internet, even if the PC (with the FTP Server) has no firewall whatsoever running. So the firewall cannot be the problem.

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

#8 Post by botg » 2004-08-10 20:35

Did you try to connect from an external machine or did you just enter your external IP to connect to the server?

Halo
500 Command not understood
Posts: 5
Joined: 2004-08-10 14:15

#9 Post by Halo » 2004-08-11 00:42

Did you open up the correct ports in norton firewall as well?

Norton's firewall is kind of crap anyway, you should look into another firewall such as Sandra or Kerio.

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

#10 Post by botg » 2004-08-11 05:48

Don't use firewalls at all, configure your system properly and you won't need any firewall.
I'm a happy Windowsuser without firewalls or virus scanners. And no virus was able to infect me yet.

Volkmar
504 Command not implemented
Posts: 9
Joined: 2004-08-09 15:56

#11 Post by Volkmar » 2004-08-11 09:00

I tried to connect to my FTP server from another computer, that is on my home network, but it connects to the Internet directly, just like the pC with the FTP server connects to the Internet directly.

I also tried by entering my external IP from within my own PC. Both won't connect. I always get the same message: "A connection with the server could not be established".

Volkmar
504 Command not implemented
Posts: 9
Joined: 2004-08-09 15:56

#12 Post by Volkmar » 2004-08-11 10:39

Well guys

To make sure the problem isn't my firewall, I completely removed the firewall from my system.

Guess what, I still can't connect to my FileZilla FTP Server from the Internet. When I type FTP://"my internal IP", it connects immediately, but when I type FTP://"my external IP", it gives me the same message as always: "A connection with the server could not be established".

Volkmar
504 Command not implemented
Posts: 9
Joined: 2004-08-09 15:56

#13 Post by Volkmar » 2004-08-11 10:49

These are the rules that I set in my router (in the 'Virtual Server' part of my router), to forward the ports for FileZilla FTP Server to my internal IP.

8 21 21 TCP 10.0.0.21
9 21 21 UDP 10.0.0.21
10 5000 5000 TCP 10.0.0.21
11 5000 5000 UDP 10.0.0.21
12 5001 5001 TCP 10.0.0.21
13 5001 5001 UDP 10.0.0.21
14 5002 5002 TCP 10.0.0.21
15 5002 5002 UDP 10.0.0.21
16 5003 5003 TCP 10.0.0.21
17 5003 5003 UDP 10.0.0.21
18 20 20 TCP 10.0.0.21
19 20 20 UDP 10.0.0.21

To compare, the following rules I set in my router to connect DC++ (rules 1 and 2) and Emule (rules 3 to 7). While DC++ and Emule are working fine, (in DC++ I managed to become an active user by forwarding the ports in my router to my internal PC), FileZilla FTP Server still won't connect:

1 1485 1485 TCP 10.0.0.21
2 1485 1485 UDP 10.0.0.21
3 4662 4662 TCP 10.0.0.21
4 4672 4672 UDP 10.0.0.21
5 4661 4661 TCP 10.0.0.21
6 4665 4665 UDP 10.0.0.21
7 4711 4711 TCP 10.0.0.21

If the problem is not the firewall, what can be the problem? Did I forward the ports correctly?

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

#14 Post by botg » 2004-08-11 12:27

Volkmar wrote:Well guys
Guess what, I still can't connect to my FileZilla FTP Server from the Internet. When I type FTP://"my internal IP", it connects immediately, but when I type FTP://"my external IP", it gives me the same message as always: "A connection with the server could not be established".
Looks like you tried to access the server using the external IP but still from inside your local network. Thist most likely doesn't work since routers only forward traffic originating from external machines.
Try to connect to the server from a remote machine. You can use the following free service to test if your server works: http://www.web2ftp.com/


About your rules, you don't need to forward UDP, FTP only uses TCP connections.

Volkmar
504 Command not implemented
Posts: 9
Joined: 2004-08-09 15:56

#15 Post by Volkmar » 2004-08-11 13:19

GREAT!!!

Guys, I'm sorry I had to bother you all with this. Thanks so much!! I tried the website you suggested, http://www.web2ftp.com/, and it showed me the content of my FTP folder!!! I guess it can only show me so if my FTP Server actually works, and connects!

Thank you guys so much, for your efforts! I love how people on the Internet are willing to help each other, and support each other with great free software tools, and advice how to use them! Thanks so much guys!!!

Post Reply