Help please while connecting through public IP

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

Moderator: Project members

Message
Author
SunnyLo
503 Bad sequence of commands
Posts: 18
Joined: 2017-10-29 11:10
First name: Lo
Last name: YungSum

Help please while connecting through public IP

#1 Post by SunnyLo » 2018-02-01 09:16

If I try to connect through a public IP, it returns this error:

FileZilla Server 0.9.60 beta
Copyright 2001-2016 by Tim Kosse (tim.kosse@filezilla-project.org)
https://filezilla-project.org/
Connecting to server localhost:14147...
Connected, waiting for authentication
Logged on
Warning: FTP over TLS is not enabled, users cannot securely log in.
(000019)1/2/2018 17:13:58 PM - (not logged in) (136.243.154.86)> Connected on port 21, sending welcome message...
(000019)1/2/2018 17:13:58 PM - (not logged in) (136.243.154.86)> 220-FileZilla Server 0.9.60 beta
(000019)1/2/2018 17:13:58 PM - (not logged in) (136.243.154.86)> 220-written by Tim Kosse (tim.kosse@filezilla-project.org)
(000019)1/2/2018 17:13:58 PM - (not logged in) (136.243.154.86)> 220 Please visit https://filezilla-project.org/
(000019)1/2/2018 17:13:58 PM - (not logged in) (136.243.154.86)> CLNT https://ftptest.net on behalf of 112.118.187.50
(000019)1/2/2018 17:13:58 PM - (not logged in) (136.243.154.86)> 200 Don't care
(000019)1/2/2018 17:13:59 PM - (not logged in) (136.243.154.86)> USER Admin
(000019)1/2/2018 17:13:59 PM - (not logged in) (136.243.154.86)> 331 Password required for admin
(000019)1/2/2018 17:13:59 PM - (not logged in) (136.243.154.86)> PASS ********
(000019)1/2/2018 17:13:59 PM - admin (136.243.154.86)> 230 Logged on
(000019)1/2/2018 17:13:59 PM - admin (136.243.154.86)> SYST
(000019)1/2/2018 17:13:59 PM - admin (136.243.154.86)> 215 UNIX emulated by FileZilla
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> FEAT
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> 211-Features:
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> MDTM
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> REST STREAM
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> SIZE
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> MLST type*;size*;modify*;
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> MLSD
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> UTF8
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> CLNT
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> MFMT
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> EPSV
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> EPRT
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> 211 End
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> PWD
(000019)1/2/2018 17:14:00 PM - admin (136.243.154.86)> 257 "/" is current directory.
(000019)1/2/2018 17:14:01 PM - admin (136.243.154.86)> TYPE I
(000019)1/2/2018 17:14:01 PM - admin (136.243.154.86)> 200 Type set to I
(000019)1/2/2018 17:14:01 PM - admin (136.243.154.86)> PASV
(000019)1/2/2018 17:14:01 PM - admin (136.243.154.86)> 227 Entering Passive Mode (112,118,187,50,217,250)
(000019)1/2/2018 17:14:01 PM - admin (136.243.154.86)> MLSD
(000019)1/2/2018 17:14:12 PM - admin (136.243.154.86)> 425 Can't open data connection for transfer of "/"
(000019)1/2/2018 17:14:12 PM - admin (136.243.154.86)> disconnected.

Here is the setting of my server: https://use_direct_attachments_thankyou/a/2J1Th

User avatar
boco
Contributor
Posts: 26930
Joined: 2006-05-01 03:28
Location: Germany

Re: Help please while connecting through public IP

#2 Post by boco » 2018-02-01 16:36

Did you follow the Network Configuration guide, yet?


The images posted are from the user settings. The user account itself works fine. What fails is the network/Passive setup.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

SunnyLo
503 Bad sequence of commands
Posts: 18
Joined: 2017-10-29 11:10
First name: Lo
Last name: YungSum

Re: Help please while connecting through public IP

#3 Post by SunnyLo » 2018-02-01 23:05

Passive mode settings + port forward list: https://use_direct_attachments_thankyou/a/dgp1V

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

Re: Help please while connecting through public IP

#4 Post by botg » 2018-02-02 08:26

Why do you forward based on the source port number? FTP servers do not control which ports clients originate requests from.

User avatar
boco
Contributor
Posts: 26930
Joined: 2006-05-01 03:28
Location: Germany

Re: Help please while connecting through public IP

#5 Post by boco » 2018-02-02 09:59

Remove the entries in "External source port number" in the port forwarding of the Passive range. The originating ports are totally random.

You do not have to (and actually should not) forward port 14147. It is used for remote administration and not necessary for client connections. While FileZilla Server prevents external connections to this port until you set up the proper bindings, forwarding that port could be disastrous, should a vulnerability in FZ Server ever arise. You know, shit happens, and if it does, there's always a fan nearby...
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

SunnyLo
503 Bad sequence of commands
Posts: 18
Joined: 2017-10-29 11:10
First name: Lo
Last name: YungSum

Re: Help please while connecting through public IP

#6 Post by SunnyLo » 2018-02-03 02:06

14147 is for my mc server, not actually for anything else, I'll try removing the external port later, not at home.

SunnyLo
503 Bad sequence of commands
Posts: 18
Joined: 2017-10-29 11:10
First name: Lo
Last name: YungSum

Re: Help please while connecting through public IP

#7 Post by SunnyLo » 2018-02-03 07:53

After changing my port forwarding to this setting, it's still not working. https://use_direct_attachments_thankyou/a/OzwpW

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

Re: Help please while connecting through public IP

#8 Post by botg » 2018-02-03 08:40

You now have removed the external destination port number as well.

SunnyLo
503 Bad sequence of commands
Posts: 18
Joined: 2017-10-29 11:10
First name: Lo
Last name: YungSum

Re: Help please while connecting through public IP

#9 Post by SunnyLo » 2018-02-03 08:49

Opps. Finally, I can connect through a public IP, the support is very GOOD. THANKS

SunnyLo
503 Bad sequence of commands
Posts: 18
Joined: 2017-10-29 11:10
First name: Lo
Last name: YungSum

Re: Help please while connecting through public IP

#10 Post by SunnyLo » 2018-02-08 15:07

I have another problem, if I try to share my main computer drive, I cannot access it.
But if I share my desktop files, it will let me access it. What should I do?

User avatar
boco
Contributor
Posts: 26930
Joined: 2006-05-01 03:28
Location: Germany

Re: Help please while connecting through public IP

#11 Post by boco » 2018-02-09 20:02

Please elaborate. Are you trying to share more than one resource simultaneously? Then, you need to use Aliases.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

SunnyLo
503 Bad sequence of commands
Posts: 18
Joined: 2017-10-29 11:10
First name: Lo
Last name: YungSum

Re: Help please while connecting through public IP

#12 Post by SunnyLo » 2018-02-10 00:39

User cannot list the files when I set my home Directory to "C:\" or "C:\Users\<UserName>"

User avatar
boco
Contributor
Posts: 26930
Joined: 2006-05-01 03:28
Location: Germany

Re: Help please while connecting through public IP

#13 Post by boco » 2018-02-10 01:52

That should work as long as the local Windows SYSTEM account does have full access permissions to these resources. The FZ Server service runs as SYSTEM by default.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

SunnyLo
503 Bad sequence of commands
Posts: 18
Joined: 2017-10-29 11:10
First name: Lo
Last name: YungSum

Re: Help please while connecting through public IP

#14 Post by SunnyLo » 2018-02-10 01:53

Then what should I change to make it work?

https://use_direct_attachments_thankyou/a/QrPfw

User avatar
boco
Contributor
Posts: 26930
Joined: 2006-05-01 03:28
Location: Germany

Re: Help please while connecting through public IP

#15 Post by boco » 2018-02-10 16:10

Not there, rather here:
c_properties.jpg
c_properties.jpg (92.09 KiB) Viewed 14225 times
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org

Post Reply