Private IP address error
Posted: 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.
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.