Private IP address error

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
yankeefan1188
500 Command not understood
Posts: 1
Joined: 2021-04-13 21:46
First name: Vincent

Private IP address error

#1 Post by yankeefan1188 » 2021-04-13 22:02

I'm having an issue with a friend not being able to connect to my server and would greatly appreciate any guidence.
what i've done so far:
-- set up a NO-IP relay to my WAN IP
-- changed the ports (listen and implicit FTP) to custom ones, forward both in the router to my server static IP, and set windows firewall rules to allow both ports, TCP and UDP in and out
-- disabled IP check
-- enabled FTPS, and generated a certificate

when i test the connection with FTP test, i get the following:

Error: Server returned unroutable private IP address in PASV reply


(000037)4/13/2021 17:39:18 PM - (not logged in) (49.12.121.47)> Connected on port 11822, sending welcome message...
(000037)4/13/2021 17:39:18 PM - (not logged in) (49.12.121.47)> 220 Welcome to MyServer.
(000037)4/13/2021 17:39:18 PM - (not logged in) (49.12.121.47)> CLNT https://ftptest.net on behalf of ***
(000037)4/13/2021 17:39:18 PM - (not logged in) (49.12.121.47)> 200 Don't care
(000037)4/13/2021 17:39:19 PM - (not logged in) (49.12.121.47)> AUTH TLS
(000037)4/13/2021 17:39:19 PM - (not logged in) (49.12.121.47)> 234 Using authentication type TLS
(000037)4/13/2021 17:39:19 PM - (not logged in) (49.12.121.47)> TLS connection established
(000037)4/13/2021 17:39:19 PM - (not logged in) (49.12.121.47)> USER user
(000037)4/13/2021 17:39:19 PM - (not logged in) (49.12.121.47)> 331 Password required for user
(000037)4/13/2021 17:39:19 PM - (not logged in) (49.12.121.47)> PASS ***********
(000037)4/13/2021 17:39:19 PM - user (49.12.121.47)> 230 Logged on
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> SYST
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> 215 UNIX emulated by FileZilla
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> FEAT
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> 211-Features:
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> MDTM
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> REST STREAM
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> SIZE
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> MLST type*;size*;modify*;
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> MLSD
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> AUTH SSL
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> AUTH TLS
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> PROT
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> PBSZ
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> UTF8
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> CLNT
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> MFMT
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> EPSV
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> EPRT
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> 211 End
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> PBSZ 0
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> 200 PBSZ=0
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> PROT P
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> 200 Protection level set to P
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> PWD
(000037)4/13/2021 17:39:20 PM - user (49.12.121.47)> 257 "/" is current directory.
(000037)4/13/2021 17:39:21 PM - user (49.12.121.47)> TYPE I
(000037)4/13/2021 17:39:21 PM - user (49.12.121.47)> 200 Type set to I
(000037)4/13/2021 17:39:21 PM - user (49.12.121.47)> PASV
(000037)4/13/2021 17:39:21 PM - user (49.12.121.47)> 227 Entering Passive Mode (***,46,46)
(000037)4/13/2021 17:39:21 PM - user (49.12.121.47)> disconnected.

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

Re: Private IP address error

#2 Post by botg » 2021-04-14 07:57

You need to tell the server your public IP address and forward the configured passive mode port range. Please refer to our Network Configuration guide for further information.

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

Re: Private IP address error

#3 Post by boco » 2021-04-14 17:35

and set windows firewall rules to allow both ports, TCP and UDP in and out
Please note that FTP uses TCP only. UDP does not need to be forwarded nor opened.
### BEGIN SIGNATURE BLOCK ###
No support requests per PM! You will NOT get any reply!!!
FTP connection problems? Please do yourself a favor and read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
### END SIGNATURE BLOCK ###

Post Reply