Make Linux command line ftp client ignore local IP address in passive mode
Get the server fixed. It should be configured to report its external IP address. Or the NAT should be configured to translate the IP in the PASV
response.
The common *nix ftp
command-line client cannot be configured to use the EPSV
or to use the control connection IP instead of the IP returned in the PASV
response.
Or use another FTP client, like tnftp
(use the epsv4
command) or curl
(defaults to the EPSV
).