Using FTP client (not server) on Google Compute Instance

For non-passive mode you have to "rewrite" the PORT command IP packet sent to the server (it contains the internal IP address and not the public one). See my temporary solution for google cloud here.